Skip to content

[Bug]: packages are missing py.typed files #560

Description

@DetachHead

Bug Description

a py.typed file is required otherwise type checkers will treat the package as untyped. see https://typing.python.org/en/latest/spec/distributing.html#packaging-type-information

pyright for example complains on every import:

Steps to Reproduce

from microsoft_teams.cards import AdaptiveCard

Expected Behavior

no type error

Actual Behavior

pyright error:

Stub file not found for "microsoft_teams.cards" (reportMissingTypeStubs)

SDK Version

2.0.15

Python Version

3.14.6

Additional Context

No response

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions