We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 160b0a9 + 177600d commit 9539fd3Copy full SHA for 9539fd3
azure/durable_functions/__init__.py
@@ -11,7 +11,6 @@
11
from .models.DurableEntityContext import DurableEntityContext
12
from .models.RetryOptions import RetryOptions
13
from .models.TokenSource import ManagedIdentityTokenSource
14
-from .decorators import DFApp
15
import json
16
from pathlib import Path
17
import sys
@@ -70,6 +69,12 @@ def validate_extension_bundles():
70
69
'DurableOrchestrationContext',
71
'ManagedIdentityTokenSource',
72
'OrchestrationRuntimeStatus',
73
- 'RetryOptions',
74
- 'DFApp'
+ 'RetryOptions'
75
]
+
+try:
76
+ # disabling linter on this line because it fails to recognize the conditional export
77
+ from .decorators import DFApp # noqa
78
+ __all__.append('DFApp')
79
+except ModuleNotFoundError:
80
+ pass
0 commit comments