Skip to content

Stub file not found for "azure.durable_functions" #524

Open

Description

@bastbu

🐛 Describe the bug

I am using azure-functions-durable==1.2.9. Since my repository is type checked by Pyright (in strict mode), I get the following error:

Stub file not found for "azure.durable_functions" (reportMissingTypeStubs)

Would it be possible to include a py.typed marker with the released package, as described in PEP-561?

🤔 Expected behavior

I would have expected that importing the azure.durable_functions does not result in any type checking errors.

☕ Steps to reproduce

  • Configure a repo with Pyright (strict mode)
  • Install and import azure.durable_functions

Activity

  1. davidmrdavid commented on Sep 9, 2024

    @davidmrdavid
    Contributor

    Thanks Patrick Chao (@batsu) for the report, this is indeed a problem and I worry out type definitions are out of date. Naiyuan Tian (@nytian) if you have cycles, it would be great if you could tackle this one.

    Bastian Burger (@bastbu) we also accept open source contributions if this is something you're willing to help us with

  2. added
    bugSomething isn't working
    fixed-in-v2Fixed in azure-functions-durable 2.x
    on Jul 29, 2026
  3. andystaples commented on Jul 29, 2026

    @andystaples
    Collaborator

    Now fixed in V2 as of microsoft/durabletask-python#246. Not closing this issue based on this yet, however, a separate decision will be made

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

P2Priority 2bugSomething isn't workingfixed-in-v2Fixed in azure-functions-durable 2.x

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions