Skip to content

Commit 9539fd3

Browse files
authored
Merge pull request #419 from Azure/dev
Promote dev to main for 1.2.2 release
2 parents 160b0a9 + 177600d commit 9539fd3

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

azure/durable_functions/__init__.py

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@
1111
from .models.DurableEntityContext import DurableEntityContext
1212
from .models.RetryOptions import RetryOptions
1313
from .models.TokenSource import ManagedIdentityTokenSource
14-
from .decorators import DFApp
1514
import json
1615
from pathlib import Path
1716
import sys
@@ -70,6 +69,12 @@ def validate_extension_bundles():
7069
'DurableOrchestrationContext',
7170
'ManagedIdentityTokenSource',
7271
'OrchestrationRuntimeStatus',
73-
'RetryOptions',
74-
'DFApp'
72+
'RetryOptions'
7573
]
74+
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

Comments
 (0)