Skip to content

Commit 7657688

Browse files
authored
Fix/ext pkgs typed (#869)
* chore: remove repo root py.typed. Only necessary in the pkg root Signed-off-by: Casper Nielsen <[email protected]> * chore: add py.typed & ref in setup.cfg Signed-off-by: Casper Nielsen <[email protected]> * fix: correct path for ext workflows py.typed file Signed-off-by: Casper Nielsen <[email protected]> * fix: correct path for other ext packes py.typed file Signed-off-by: Casper Nielsen <[email protected]> * fix: move back to correct location Signed-off-by: Casper Nielsen <[email protected]> * feat: simplify main dapr pkg typed setup Signed-off-by: Casper Nielsen <[email protected]> * feat: add type info for flask_dapr Signed-off-by: Casper Nielsen <[email protected]> --------- Signed-off-by: Casper Nielsen <[email protected]>
1 parent 853d60f commit 7657688

File tree

13 files changed

+21
-9
lines changed

13 files changed

+21
-9
lines changed
File renamed without changes.

dapr/aio/clients/py.typed renamed to ext/dapr-ext-fastapi/dapr/ext/fastapi/py.typed

File renamed without changes.

ext/dapr-ext-fastapi/setup.cfg

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,3 +34,7 @@ include =
3434

3535
exclude =
3636
tests
37+
38+
[options.package_data]
39+
dapr.ext.fastapi =
40+
py.typed

ext/dapr-ext-grpc/setup.cfg

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,3 +33,7 @@ include =
3333

3434
exclude =
3535
tests
36+
37+
[options.package_data]
38+
dapr.ext.grpc =
39+
py.typed

dapr/conf/py.typed renamed to ext/dapr-ext-langgraph/dapr/ext/langgraph/py.typed

File renamed without changes.

ext/dapr-ext-langgraph/setup.cfg

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,3 +34,7 @@ include =
3434

3535
exclude =
3636
tests
37+
38+
[options.package_data]
39+
dapr.ext.langgraph =
40+
py.typed

dapr/proto/py.typed renamed to ext/dapr-ext-workflow/dapr/ext/workflow/py.typed

File renamed without changes.

ext/dapr-ext-workflow/setup.cfg

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,3 +33,7 @@ include =
3333

3434
exclude =
3535
tests
36+
37+
[options.package_data]
38+
dapr.ext.workflow =
39+
py.typed

0 commit comments

Comments
 (0)