Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion .coveragerc
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@ omit =
*/setup.py
setup.py
*/site-packages/*
azure/functions/_thirdparty/*
*/venv/*
*/.venv/*
*/.env*/*
Expand Down
2 changes: 1 addition & 1 deletion .flake8
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
ignore = W503,E402,E731
exclude =
.git, __pycache__, build, dist, .eggs, .github, .local,
Samples, azure/functions/_thirdparty, docs/, .venv*/, .env*/, .vscode/, venv*, pyvenv*
Samples, docs/, .venv*/, .env*/, .vscode/, venv*, pyvenv*
max-line-length = 100
extend-ignore = D401, D101, D105, D400, D205, D102, D100, D107, DAR401, DAR101, DAR201
strictness = short
15 changes: 15 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,21 @@ Issues and feature requests are tracked in a variety of places. To report this f
| Portal | User Interface or Experience Issue | [File an Issue](https://github.com/azure/azure-functions-ux/issues) |
| Templates | Code Issues with Creation Template | [File an Issue](https://github.com/Azure/azure-functions-templates/issues) |

## Binding type annotations

Binding annotation checks accept PEP 585 builtin generics wherever the equivalent
`typing` annotation is supported. For example, Event Hub batch inputs accept
`list[func.EventHubEvent]` as well as `typing.List[func.EventHubEvent]`, and list
outputs for Event Hub, Queue, and Event Grid accept `func.Out[list[str]]`.
Parameterized `collections.abc.Iterable` and `Sequence` annotations are also
supported where their `typing` equivalents are accepted.

This does not change binding cardinality or allowed element types:
`list[str]` is not a valid Event Hub trigger annotation, and bindings that require
a single event or a specialized collection such as `func.DocumentList` still
require that type. Worker-side annotation handling must also support PEP 585;
see [Azure/azure-functions-python-worker#1034](https://github.com/Azure/azure-functions-python-worker/issues/1034).

## Durable Functions JSON serialization

`azure.functions._durable_functions.df_dumps(value, *, ensure_ascii=True)`
Expand Down
Empty file.
Loading
Loading