Skip to content

Commit c529728

Browse files
authored
Patch blueprint class typo, add author metadata to setup.py (#439)
* add missing author metadata * rename blueprint
1 parent 8a93453 commit c529728

File tree

3 files changed

+9
-5
lines changed

3 files changed

+9
-5
lines changed

azure/durable_functions/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,8 +74,8 @@ def validate_extension_bundles():
7474

7575
try:
7676
# disabling linter on this line because it fails to recognize the conditional export
77-
from .decorators.durable_app import (DFApp, BluePrint) # noqa
77+
from .decorators.durable_app import (DFApp, Blueprint) # noqa
7878
__all__.append('DFApp')
79-
__all__.append('BluePrint')
79+
__all__.append('Blueprint')
8080
except ModuleNotFoundError:
8181
pass

azure/durable_functions/decorators/durable_app.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@
1111
from functools import wraps
1212

1313

14-
class BluePrint(TriggerApi, BindingApi):
15-
"""Durable Functions (DF) blueprint container.
14+
class Blueprint(TriggerApi, BindingApi):
15+
"""Durable Functions (DF) Blueprint container.
1616
1717
It allows functions to be declared via trigger and binding decorators,
1818
but does not automatically index/register these functions.
@@ -232,7 +232,7 @@ def decorator():
232232
return wrap
233233

234234

235-
class DFApp(BluePrint, FunctionRegister):
235+
class DFApp(Blueprint, FunctionRegister):
236236
"""Durable Functions (DF) app.
237237
238238
Exports the decorators required to declare and index DF Function-types.

setup.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,10 @@ def run(self, *args, **kwargs):
3434
]),
3535
use_scm_version=True,
3636
setup_requires=['setuptools_scm'],
37+
author="Azure Functions team at Microsoft Corp.",
38+
author_email="[email protected]",
39+
keywords="azure functions azurefunctions python serverless workflows durablefunctions",
40+
url="https://github.com/Azure/azure-functions-durable-python",
3741
description='Durable Functions For Python',
3842
long_description=long_description,
3943
long_description_content_type="text/markdown",

0 commit comments

Comments
 (0)