Skip to content

Commit

Permalink
Patch blueprint class typo, add author metadata to setup.py (#439)
Browse files Browse the repository at this point in the history
* add missing author metadata

* rename blueprint
  • Loading branch information
davidmrdavid authored Jun 12, 2023
1 parent 8a93453 commit c529728
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 5 deletions.
4 changes: 2 additions & 2 deletions azure/durable_functions/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,8 @@ def validate_extension_bundles():

try:
# disabling linter on this line because it fails to recognize the conditional export
from .decorators.durable_app import (DFApp, BluePrint) # noqa
from .decorators.durable_app import (DFApp, Blueprint) # noqa
__all__.append('DFApp')
__all__.append('BluePrint')
__all__.append('Blueprint')
except ModuleNotFoundError:
pass
6 changes: 3 additions & 3 deletions azure/durable_functions/decorators/durable_app.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@
from functools import wraps


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


class DFApp(BluePrint, FunctionRegister):
class DFApp(Blueprint, FunctionRegister):
"""Durable Functions (DF) app.
Exports the decorators required to declare and index DF Function-types.
Expand Down
4 changes: 4 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,10 @@ def run(self, *args, **kwargs):
]),
use_scm_version=True,
setup_requires=['setuptools_scm'],
author="Azure Functions team at Microsoft Corp.",
author_email="[email protected]",
keywords="azure functions azurefunctions python serverless workflows durablefunctions",
url="https://github.com/Azure/azure-functions-durable-python",
description='Durable Functions For Python',
long_description=long_description,
long_description_content_type="text/markdown",
Expand Down

0 comments on commit c529728

Please sign in to comment.