faust-streaming 0.13.0__tar.gz → 0.13.1__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/.coveragerc +6 -0
- {faust_streaming-0.13.0/faust_streaming.egg-info → faust_streaming-0.13.1}/PKG-INFO +32 -31
- faust_streaming-0.13.1/docs/userguide/testing.rst +463 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/faust/agents/agent.py +19 -1
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/faust/agents/replies.py +1 -1
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/faust/app/base.py +4 -1
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/faust/models/typing.py +13 -1
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/faust/sensors/distributed_tracing.py +8 -3
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/faust/tables/recovery.py +4 -1
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/faust/topics.py +7 -2
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/faust/transport/drivers/aiokafka.py +7 -2
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/faust/transport/drivers/confluent.py +0 -2
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/faust/types/app.py +4 -1
- faust_streaming-0.13.1/faust/utils/_opentracing.py +102 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/faust/utils/tracing.py +4 -1
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/faust/web/drivers/aiohttp.py +10 -3
- {faust_streaming-0.13.0 → faust_streaming-0.13.1/faust_streaming.egg-info}/PKG-INFO +32 -31
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/faust_streaming.egg-info/SOURCES.txt +2 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/faust_streaming.egg-info/requires.txt +3 -1
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/faust_streaming.egg-info/scm_file_list.json +600 -598
- faust_streaming-0.13.1/faust_streaming.egg-info/scm_version.json +8 -0
- faust_streaming-0.13.1/requirements/extras/opentracing.txt +1 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/requirements/requirements.txt +0 -1
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/requirements/test.txt +1 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/setup.py +1 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/tests/functional/models/test_typing.py +48 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/tests/unit/agents/test_agent.py +20 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/tests/unit/agents/test_replies.py +6 -1
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/tests/unit/test_topics.py +33 -1
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/tests/unit/web/drivers/test_aiohttp.py +36 -19
- faust_streaming-0.13.0/docs/userguide/testing.rst +0 -221
- faust_streaming-0.13.0/faust_streaming.egg-info/scm_version.json +0 -8
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/.editorconfig +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/.github/CODE_OF_CONDUCT.md +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/.github/ISSUE_TEMPLATE.md +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/.github/PULL_REQUEST_TEMPLATE.md +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/.github/dependabot.yml +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/.github/workflows/codeql-analysis.yml +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/.github/workflows/gh-pages.yml +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/.github/workflows/python-package.yml +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/.gitignore +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/.pre-commit-config.yaml +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/AUTHORS.md +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/CHANGELOG.md +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/CODE_OF_CONDUCT.md +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/LICENSE +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/MANIFEST.in +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/Makefile +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/README.md +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/RELEASE_NOTES_v0.12.1.md +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/TODO.rst +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/artwork/LICENSE +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/artwork/banner-alt1.png +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/artwork/banner-alt2.png +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/artwork/favicon.ico +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/artwork/logo.png +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/docs/Makefile +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/docs/_ext/faustdocs.py +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/docs/_ext/typehints.py +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/docs/_static/.keep +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/docs/_templates/.keep +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/docs/authors.rst +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/docs/changelog.rst +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/docs/conf.py +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/docs/contributing.rst +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/docs/copyright.rst +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/docs/developerguide/index.rst +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/docs/developerguide/overview.rst +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/docs/developerguide/partition_assignor.rst +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/docs/faq.rst +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/docs/glossary.rst +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/docs/history/changelog-0.9.rst +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/docs/history/changelog-1.0.rst +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/docs/history/changelog-1.1.rst +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/docs/history/changelog-1.10.rst +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/docs/history/changelog-1.2.rst +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/docs/history/changelog-1.3.rst +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/docs/history/changelog-1.4.rst +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/docs/history/changelog-1.5.rst +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/docs/history/changelog-1.6.rst +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/docs/history/changelog-1.7.rst +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/docs/history/changelog-1.8.rst +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/docs/history/changelog-1.9.rst +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/docs/history/index.rst +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/docs/images/banner-alt1.png +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/docs/images/banner-alt2.png +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/docs/images/favicon.ico +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/docs/images/logo.png +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/docs/includes/blurb.txt +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/docs/includes/code-of-conduct.txt +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/docs/includes/faq.txt +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/docs/includes/installation.txt +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/docs/includes/intro.txt +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/docs/includes/introduction.txt +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/docs/includes/kafka.txt +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/docs/includes/resources.txt +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/docs/includes/settingref.txt +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/docs/includes/tags.txt +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/docs/index.rst +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/docs/introduction.rst +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/docs/keepachangelog/changelog.md +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/docs/keepachangelog/commit.md +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/docs/keepachangelog/section.md +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/docs/keepachangelog/version.md +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/docs/make.bat +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/docs/playbooks/cheatsheet.rst +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/docs/playbooks/index.rst +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/docs/playbooks/leaderelection.rst +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/docs/playbooks/pageviews.rst +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/docs/playbooks/quickstart.rst +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/docs/playbooks/vscelery.rst +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/docs/playbooks/vskafka.rst +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/docs/reference/faust.agents.actor.rst +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/docs/reference/faust.agents.agent.rst +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/docs/reference/faust.agents.manager.rst +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/docs/reference/faust.agents.models.rst +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/docs/reference/faust.agents.replies.rst +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/docs/reference/faust.agents.rst +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/docs/reference/faust.app.base.rst +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/docs/reference/faust.app.router.rst +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/docs/reference/faust.app.rst +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/docs/reference/faust.assignor.client_assignment.rst +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/docs/reference/faust.assignor.cluster_assignment.rst +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/docs/reference/faust.assignor.copartitioned_assignor.rst +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/docs/reference/faust.assignor.leader_assignor.rst +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/docs/reference/faust.assignor.partition_assignor.rst +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/docs/reference/faust.auth.rst +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/docs/reference/faust.channels.rst +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/docs/reference/faust.cli.agents.rst +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/docs/reference/faust.cli.base.rst +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/docs/reference/faust.cli.clean_versions.rst +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/docs/reference/faust.cli.completion.rst +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/docs/reference/faust.cli.faust.rst +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/docs/reference/faust.cli.livecheck.rst +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/docs/reference/faust.cli.model.rst +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/docs/reference/faust.cli.models.rst +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/docs/reference/faust.cli.params.rst +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/docs/reference/faust.cli.reset.rst +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/docs/reference/faust.cli.send.rst +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/docs/reference/faust.cli.tables.rst +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/docs/reference/faust.cli.worker.rst +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/docs/reference/faust.contrib.rst +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/docs/reference/faust.contrib.sentry.rst +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/docs/reference/faust.events.rst +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/docs/reference/faust.exceptions.rst +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/docs/reference/faust.fixups.base.rst +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/docs/reference/faust.fixups.django.rst +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/docs/reference/faust.fixups.rst +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/docs/reference/faust.joins.rst +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/docs/reference/faust.livecheck.app.rst +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/docs/reference/faust.livecheck.case.rst +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/docs/reference/faust.livecheck.exceptions.rst +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/docs/reference/faust.livecheck.locals.rst +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/docs/reference/faust.livecheck.models.rst +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/docs/reference/faust.livecheck.patches.aiohttp.rst +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/docs/reference/faust.livecheck.patches.rst +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/docs/reference/faust.livecheck.rst +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/docs/reference/faust.livecheck.runners.rst +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/docs/reference/faust.livecheck.signals.rst +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/docs/reference/faust.models.base.rst +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/docs/reference/faust.models.fields.rst +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/docs/reference/faust.models.record.rst +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/docs/reference/faust.models.tags.rst +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/docs/reference/faust.models.typing.rst +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/docs/reference/faust.rst +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/docs/reference/faust.sensors.base.rst +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/docs/reference/faust.sensors.datadog.rst +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/docs/reference/faust.sensors.monitor.rst +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/docs/reference/faust.sensors.prometheus.rst +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/docs/reference/faust.sensors.rst +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/docs/reference/faust.sensors.statsd.rst +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/docs/reference/faust.serializers.codecs.rst +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/docs/reference/faust.serializers.registry.rst +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/docs/reference/faust.serializers.schemas.rst +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/docs/reference/faust.stores.aerospike.rst +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/docs/reference/faust.stores.base.rst +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/docs/reference/faust.stores.memory.rst +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/docs/reference/faust.stores.rocksdb.rst +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/docs/reference/faust.stores.rst +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/docs/reference/faust.streams.rst +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/docs/reference/faust.tables.base.rst +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/docs/reference/faust.tables.globaltable.rst +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/docs/reference/faust.tables.manager.rst +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/docs/reference/faust.tables.objects.rst +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/docs/reference/faust.tables.recovery.rst +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/docs/reference/faust.tables.rst +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/docs/reference/faust.tables.sets.rst +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/docs/reference/faust.tables.table.rst +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/docs/reference/faust.tables.wrappers.rst +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/docs/reference/faust.topics.rst +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/docs/reference/faust.transport.base.rst +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/docs/reference/faust.transport.conductor.rst +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/docs/reference/faust.transport.consumer.rst +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/docs/reference/faust.transport.drivers.aiokafka.rst +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/docs/reference/faust.transport.drivers.rst +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/docs/reference/faust.transport.producer.rst +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/docs/reference/faust.transport.rst +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/docs/reference/faust.transport.utils.rst +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/docs/reference/faust.types.agents.rst +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/docs/reference/faust.types.app.rst +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/docs/reference/faust.types.assignor.rst +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/docs/reference/faust.types.auth.rst +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/docs/reference/faust.types.channels.rst +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/docs/reference/faust.types.codecs.rst +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/docs/reference/faust.types.core.rst +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/docs/reference/faust.types.enums.rst +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/docs/reference/faust.types.events.rst +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/docs/reference/faust.types.fixups.rst +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/docs/reference/faust.types.joins.rst +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/docs/reference/faust.types.models.rst +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/docs/reference/faust.types.router.rst +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/docs/reference/faust.types.sensors.rst +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/docs/reference/faust.types.serializers.rst +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/docs/reference/faust.types.settings.base.rst +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/docs/reference/faust.types.settings.params.rst +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/docs/reference/faust.types.settings.rst +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/docs/reference/faust.types.settings.sections.rst +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/docs/reference/faust.types.settings.settings.rst +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/docs/reference/faust.types.stores.rst +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/docs/reference/faust.types.streams.rst +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/docs/reference/faust.types.tables.rst +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/docs/reference/faust.types.topics.rst +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/docs/reference/faust.types.transports.rst +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/docs/reference/faust.types.tuples.rst +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/docs/reference/faust.types.web.rst +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/docs/reference/faust.types.windows.rst +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/docs/reference/faust.utils.codegen.rst +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/docs/reference/faust.utils.cron.rst +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/docs/reference/faust.utils.functional.rst +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/docs/reference/faust.utils.iso8601.rst +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/docs/reference/faust.utils.json.rst +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/docs/reference/faust.utils.platforms.rst +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/docs/reference/faust.utils.terminal.rst +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/docs/reference/faust.utils.terminal.spinners.rst +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/docs/reference/faust.utils.terminal.tables.rst +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/docs/reference/faust.utils.tracing.rst +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/docs/reference/faust.utils.urls.rst +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/docs/reference/faust.utils.venusian.rst +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/docs/reference/faust.web.apps.graph.rst +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/docs/reference/faust.web.apps.router.rst +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/docs/reference/faust.web.apps.stats.rst +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/docs/reference/faust.web.base.rst +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/docs/reference/faust.web.blueprints.rst +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/docs/reference/faust.web.cache.backends.base.rst +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/docs/reference/faust.web.cache.backends.memory.rst +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/docs/reference/faust.web.cache.backends.redis.rst +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/docs/reference/faust.web.cache.backends.rst +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/docs/reference/faust.web.cache.cache.rst +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/docs/reference/faust.web.cache.exceptions.rst +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/docs/reference/faust.web.cache.rst +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/docs/reference/faust.web.drivers.aiohttp.rst +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/docs/reference/faust.web.drivers.rst +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/docs/reference/faust.web.exceptions.rst +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/docs/reference/faust.web.views.rst +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/docs/reference/faust.windows.rst +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/docs/reference/faust.worker.rst +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/docs/reference/index.rst +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/docs/spelling_wordlist.txt +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/docs/templates/readme.txt +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/docs/userguide/agents.rst +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/docs/userguide/application.rst +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/docs/userguide/channels.rst +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/docs/userguide/cli.rst +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/docs/userguide/debugging.rst +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/docs/userguide/index.rst +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/docs/userguide/installation.rst +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/docs/userguide/kafka.rst +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/docs/userguide/livecheck.rst +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/docs/userguide/models.rst +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/docs/userguide/sensors.rst +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/docs/userguide/settings.rst +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/docs/userguide/streams.rst +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/docs/userguide/tables.rst +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/docs/userguide/tasks.rst +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/docs/userguide/workers.rst +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/examples/__init__.py +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/examples/advanced/isolated_partitions_crashing.py +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/examples/advanced/rpc.py +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/examples/advanced/service.py +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/examples/bound_agent.py +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/examples/concurrency.py +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/examples/crontab/tz_aware.py +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/examples/crontab/tz_unaware.py +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/examples/django/README.rst +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/examples/django/accounts/__init__.py +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/examples/django/accounts/agents.py +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/examples/django/accounts/apps.py +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/examples/django/accounts/migrations/0001_initial.py +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/examples/django/accounts/migrations/__init__.py +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/examples/django/accounts/models.py +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/examples/django/faustapp/__init__.py +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/examples/django/faustapp/app.py +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/examples/django/faustapp/apps.py +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/examples/django/faustapp/migrations/__init__.py +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/examples/django/manage.py +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/examples/django/proj/__init__.py +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/examples/django/proj/__main__.py +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/examples/django/proj/settings.py +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/examples/django/proj/urls.py +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/examples/django/proj/wsgi.py +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/examples/django/requirements/default.txt +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/examples/django/requirements/test.txt +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/examples/django/setup.py +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/examples/fastapi/__init__.py +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/examples/fastapi/api/__init__.py +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/examples/fastapi/api/my_api.py +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/examples/fastapi/main.py +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/examples/fastapi/my_faust/__init__.py +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/examples/fastapi/my_faust/agent/__init__.py +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/examples/fastapi/my_faust/agent/my_agent.py +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/examples/fastapi/my_faust/app.py +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/examples/fastapi/my_faust/table/__init__.py +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/examples/fastapi/my_faust/table/my_table.py +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/examples/fastapi/my_faust/timer/__init__.py +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/examples/fastapi/my_faust/timer/my_timer.py +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/examples/fastapi/my_faust/topic/__init__.py +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/examples/fastapi/my_faust/topic/my_topic.py +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/examples/fastapi_example.py +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/examples/hello_world.py +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/examples/kubernetes/README.md +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/examples/kubernetes/consumer/Dockerfile +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/examples/kubernetes/consumer/README.md +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/examples/kubernetes/consumer/consumer.py +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/examples/kubernetes/consumer/consumer.yml +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/examples/kubernetes/consumer/requirements.txt +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/examples/kubernetes/producer/Dockerfile +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/examples/kubernetes/producer/README.md +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/examples/kubernetes/producer/producer.py +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/examples/kubernetes/producer/producer.yml +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/examples/kubernetes/producer/requirements.txt +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/examples/leader.py +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/examples/livecheck.py +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/examples/tableofset.py +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/examples/tabletest.py +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/examples/task_queue.py +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/examples/windowed_aggregation.py +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/examples/windowing/hopping.py +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/examples/windowing/hopping_2.py +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/examples/windowing/tumbling.py +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/examples/withdrawals.py +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/examples/word_count.py +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/extra/bandit/baseline.json +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/extra/bandit/config.yaml +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/extra/macOS/com.fauststream.worker.plist +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/extra/release/sphinx2rst_config.py +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/extra/supervisord/faust.conf +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/extra/supervisord/supervisord.conf +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/extra/systemd/faust.conf +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/extra/systemd/faust.service +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/extra/systemd/faust.tmpfiles +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/extra/tools/benchmark.py +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/extra/tools/render_configuration_reference.py +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/extra/tools/verify_ascending.py +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/extra/tools/verify_doc_defaults.py +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/extra/tools/verify_tabletest.sh +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/extra/tools/verify_tabletest_changelog.py +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/faust/__init__.py +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/faust/__main__.py +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/faust/_cython/__init__.py +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/faust/_cython/streams.pyx +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/faust/_cython/windows.pyx +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/faust/agents/__init__.py +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/faust/agents/actor.py +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/faust/agents/manager.py +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/faust/agents/models.py +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/faust/app/__init__.py +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/faust/app/_attached.py +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/faust/app/router.py +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/faust/assignor/__init__.py +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/faust/assignor/client_assignment.py +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/faust/assignor/cluster_assignment.py +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/faust/assignor/copartitioned_assignor.py +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/faust/assignor/leader_assignor.py +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/faust/assignor/partition_assignor.py +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/faust/auth.py +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/faust/channels.py +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/faust/cli/__init__.py +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/faust/cli/agents.py +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/faust/cli/base.py +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/faust/cli/clean_versions.py +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/faust/cli/completion.py +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/faust/cli/faust.py +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/faust/cli/livecheck.py +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/faust/cli/model.py +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/faust/cli/models.py +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/faust/cli/params.py +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/faust/cli/reset.py +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/faust/cli/send.py +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/faust/cli/tables.py +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/faust/cli/worker.py +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/faust/contrib/__init__.py +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/faust/contrib/sentry.py +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/faust/events.py +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/faust/exceptions.py +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/faust/fixups/__init__.py +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/faust/fixups/base.py +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/faust/fixups/django.py +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/faust/joins.py +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/faust/livecheck/__init__.py +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/faust/livecheck/app.py +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/faust/livecheck/case.py +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/faust/livecheck/exceptions.py +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/faust/livecheck/locals.py +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/faust/livecheck/models.py +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/faust/livecheck/patches/__init__.py +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/faust/livecheck/patches/aiohttp.py +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/faust/livecheck/runners.py +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/faust/livecheck/signals.py +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/faust/models/__init__.py +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/faust/models/base.py +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/faust/models/fields.py +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/faust/models/record.py +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/faust/models/tags.py +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/faust/py.typed +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/faust/sensors/__init__.py +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/faust/sensors/base.py +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/faust/sensors/datadog.py +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/faust/sensors/monitor.py +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/faust/sensors/prometheus.py +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/faust/sensors/statsd.py +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/faust/serializers/__init__.py +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/faust/serializers/codecs.py +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/faust/serializers/registry.py +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/faust/serializers/schemas.py +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/faust/stores/__init__.py +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/faust/stores/aerospike.py +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/faust/stores/base.py +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/faust/stores/memory.py +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/faust/stores/rocksdb.py +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/faust/streams.py +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/faust/tables/__init__.py +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/faust/tables/base.py +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/faust/tables/globaltable.py +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/faust/tables/manager.py +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/faust/tables/objects.py +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/faust/tables/sets.py +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/faust/tables/table.py +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/faust/tables/wrappers.py +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/faust/transport/__init__.py +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/faust/transport/_cython/__init__.py +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/faust/transport/_cython/conductor.pyx +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/faust/transport/base.py +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/faust/transport/conductor.py +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/faust/transport/consumer.py +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/faust/transport/drivers/__init__.py +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/faust/transport/producer.py +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/faust/transport/utils.py +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/faust/types/__init__.py +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/faust/types/_env.py +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/faust/types/agents.py +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/faust/types/assignor.py +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/faust/types/auth.py +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/faust/types/channels.py +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/faust/types/codecs.py +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/faust/types/core.py +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/faust/types/enums.py +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/faust/types/events.py +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/faust/types/fixups.py +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/faust/types/joins.py +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/faust/types/models.py +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/faust/types/router.py +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/faust/types/sensors.py +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/faust/types/serializers.py +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/faust/types/settings/__init__.py +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/faust/types/settings/base.py +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/faust/types/settings/params.py +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/faust/types/settings/sections.py +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/faust/types/settings/settings.py +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/faust/types/stores.py +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/faust/types/streams.py +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/faust/types/tables.py +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/faust/types/topics.py +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/faust/types/transports.py +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/faust/types/tuples.py +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/faust/types/web.py +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/faust/types/windows.py +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/faust/utils/__init__.py +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/faust/utils/_iso8601_python.py +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/faust/utils/agent_stopper.py +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/faust/utils/codegen.py +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/faust/utils/cron.py +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/faust/utils/functional.py +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/faust/utils/iso8601.py +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/faust/utils/json.py +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/faust/utils/platforms.py +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/faust/utils/terminal/__init__.py +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/faust/utils/terminal/spinners.py +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/faust/utils/terminal/tables.py +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/faust/utils/urls.py +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/faust/utils/venusian.py +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/faust/web/__init__.py +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/faust/web/apps/__init__.py +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/faust/web/apps/graph.py +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/faust/web/apps/production_index.py +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/faust/web/apps/router.py +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/faust/web/apps/stats.py +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/faust/web/apps/tables.py +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/faust/web/base.py +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/faust/web/blueprints.py +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/faust/web/cache/__init__.py +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/faust/web/cache/backends/__init__.py +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/faust/web/cache/backends/base.py +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/faust/web/cache/backends/memory.py +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/faust/web/cache/backends/redis.py +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/faust/web/cache/cache.py +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/faust/web/cache/exceptions.py +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/faust/web/drivers/__init__.py +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/faust/web/exceptions.py +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/faust/web/views.py +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/faust/windows.py +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/faust/worker.py +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/faust_streaming.egg-info/dependency_links.txt +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/faust_streaming.egg-info/entry_points.txt +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/faust_streaming.egg-info/not-zip-safe +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/faust_streaming.egg-info/top_level.txt +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/pyproject.toml +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/requirements/ci.txt +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/requirements/dist.txt +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/requirements/docs.txt +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/requirements/extras/aerospike.txt +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/requirements/extras/aiodns.txt +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/requirements/extras/aiomonitor.txt +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/requirements/extras/cchardet.txt +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/requirements/extras/ciso8601.txt +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/requirements/extras/ckafka.txt +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/requirements/extras/cython.txt +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/requirements/extras/datadog.txt +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/requirements/extras/debug.txt +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/requirements/extras/eventlet.txt +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/requirements/extras/fast.txt +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/requirements/extras/orjson.txt +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/requirements/extras/prometheus.txt +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/requirements/extras/redis.txt +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/requirements/extras/rocksdb.txt +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/requirements/extras/rocksdict.txt +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/requirements/extras/sentry.txt +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/requirements/extras/setproctitle.txt +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/requirements/extras/statsd.txt +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/requirements/extras/uvloop.txt +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/requirements/extras/yaml.txt +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/requirements/typecheck.txt +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/scripts/README.md +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/scripts/build +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/scripts/check +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/scripts/clean +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/scripts/docs +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/scripts/install +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/scripts/lint +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/scripts/tests +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/setup.cfg +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/tests/__init__.py +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/tests/bench/__init__.py +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/tests/bench/base.py +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/tests/bench/baseline.py +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/tests/bench/forward.py +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/tests/conftest.py +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/tests/consistency/.gitignore +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/tests/consistency/__init__.py +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/tests/consistency/consistency_checker.py +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/tests/consistency/test_consistency.py +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/tests/functional/__init__.py +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/tests/functional/agents/__init__.py +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/tests/functional/agents/helpers.py +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/tests/functional/agents/test_concurrency.py +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/tests/functional/agents/test_current_agent.py +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/tests/functional/agents/test_isolated_partitions.py +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/tests/functional/conftest.py +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/tests/functional/helpers.py +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/tests/functional/models/__init__.py +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/tests/functional/sensors/__init__.py +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/tests/functional/sensors/test_statsd.py +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/tests/functional/serializers/__init__.py +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/tests/functional/serializers/test_registry.py +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/tests/functional/test_aiokafka.py +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/tests/functional/test_app.py +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/tests/functional/test_channels.py +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/tests/functional/test_faust.py +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/tests/functional/test_models.py +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/tests/functional/test_streams.py +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/tests/functional/web/__init__.py +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/tests/functional/web/conftest.py +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/tests/functional/web/test_cache.py +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/tests/functional/web/test_tables.py +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/tests/functional/web/test_views.py +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/tests/helpers.py +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/tests/integration/app.py +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/tests/integration/broker/__init__.py +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/tests/integration/broker/conftest.py +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/tests/integration/broker/test_smoke.py +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/tests/integration/cache/__init__.py +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/tests/integration/cache/conftest.py +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/tests/integration/cache/test_redis.py +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/tests/integration/cli/__init__.py +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/tests/integration/cli/test_agents.py +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/tests/integration/cli/test_base.py +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/tests/integration/cli/test_model.py +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/tests/integration/cli/test_models.py +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/tests/integration/conftest.py +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/tests/meticulous/assignor/__init__.py +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/tests/meticulous/assignor/test_copartitioned_assignor.py +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/tests/regression/__init__.py +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/tests/regression/i323/__init__.py +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/tests/regression/i323/conftest.py +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/tests/regression/i323/proj323/__init__.py +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/tests/regression/i323/proj323/faust.py +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/tests/regression/i323/proj323/foo/__init__.py +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/tests/regression/i323/proj323/foo/bar/__init__.py +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/tests/regression/i323/proj323/foo/bar/baz/__init__.py +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/tests/regression/i323/proj323/foo/bar/baz/commands.py +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/tests/regression/i323/test_autodiscover.py +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/tests/regression/i324/__init__.py +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/tests/regression/i324/conftest.py +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/tests/regression/i324/proj324/__init__.py +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/tests/regression/i324/proj324/__main__.py +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/tests/regression/i324/proj324/faust.py +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/tests/regression/i324/proj324/foo/__init__.py +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/tests/regression/i324/proj324/foo/bar/__init__.py +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/tests/regression/i324/proj324/foo/bar/baz/__init__.py +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/tests/regression/i324/proj324/foo/bar/baz/commands.py +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/tests/regression/i324/proj324/foo/test_x.py +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/tests/regression/i324/test_autodiscover.py +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/tests/stress/__init__.py +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/tests/stress/app.py +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/tests/stress/config.py +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/tests/stress/killer.py +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/tests/stress/models.py +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/tests/stress/producer.py +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/tests/stress/reports/__init__.py +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/tests/stress/reports/app.py +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/tests/stress/reports/checks.py +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/tests/stress/reports/collector.py +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/tests/stress/reports/logging.py +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/tests/stress/reports/models.py +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/tests/stress/reports/states.py +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/tests/stress/reports/templates/dashboard.html +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/tests/stress/reports/web.py +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/tests/stress/requirements.txt +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/tests/stress/tests/__init__.py +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/tests/stress/tests/forwarder/__init__.py +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/tests/stress/tests/forwarder/app.py +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/tests/stress/tests/forwarder/requirements.txt +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/tests/stress/tests/simple/__init__.py +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/tests/stress/tests/simple/app.py +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/tests/stress/tests/simple/requirements.txt +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/tests/stress/tests/tables/__init__.py +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/tests/stress/tests/tables/app.py +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/tests/stress/tests/tables/requirements.txt +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/tests/unit/__init__.py +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/tests/unit/agents/__init__.py +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/tests/unit/agents/test_actor.py +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/tests/unit/agents/test_manager.py +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/tests/unit/app/test_base.py +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/tests/unit/app/test_router.py +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/tests/unit/app/test_service.py +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/tests/unit/cli/__init__.py +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/tests/unit/cli/conftest.py +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/tests/unit/cli/test_base.py +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/tests/unit/cli/test_clean_versions.py +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/tests/unit/cli/test_completion.py +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/tests/unit/cli/test_env.py +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/tests/unit/cli/test_params.py +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/tests/unit/conftest.py +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/tests/unit/fixups/__init__.py +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/tests/unit/fixups/test_base.py +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/tests/unit/fixups/test_django.py +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/tests/unit/livecheck/__init__.py +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/tests/unit/livecheck/conftest.py +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/tests/unit/livecheck/patches/test_aiohttp.py +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/tests/unit/livecheck/test_app.py +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/tests/unit/livecheck/test_case.py +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/tests/unit/livecheck/test_locals.py +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/tests/unit/livecheck/test_models.py +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/tests/unit/livecheck/test_runners.py +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/tests/unit/livecheck/test_signals.py +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/tests/unit/models/__init__.py +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/tests/unit/models/test_fields.py +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/tests/unit/models/test_tags.py +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/tests/unit/sensors/__init__.py +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/tests/unit/sensors/test_base.py +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/tests/unit/sensors/test_datadog.py +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/tests/unit/sensors/test_distributed_tracing.py +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/tests/unit/sensors/test_monitor.py +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/tests/unit/sensors/test_prometheus.py +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/tests/unit/sensors/test_statsd.py +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/tests/unit/serializers/__init__.py +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/tests/unit/serializers/test_codecs.py +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/tests/unit/stores/__init__.py +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/tests/unit/stores/test_aerospike.py +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/tests/unit/stores/test_base.py +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/tests/unit/stores/test_memory.py +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/tests/unit/stores/test_rocksdb.py +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/tests/unit/tables/__init__.py +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/tests/unit/tables/test_base.py +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/tests/unit/tables/test_manager.py +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/tests/unit/tables/test_objects.py +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/tests/unit/tables/test_recovery.py +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/tests/unit/tables/test_sets.py +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/tests/unit/tables/test_table.py +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/tests/unit/tables/test_wrappers.py +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/tests/unit/test_auth.py +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/tests/unit/test_events.py +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/tests/unit/test_faust.py +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/tests/unit/test_joins.py +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/tests/unit/test_streams.py +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/tests/unit/test_worker.py +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/tests/unit/transport/drivers/__init__.py +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/tests/unit/transport/drivers/test_aiokafka.py +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/tests/unit/transport/drivers/test_confluent.py +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/tests/unit/transport/test_conductor.py +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/tests/unit/transport/test_consumer.py +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/tests/unit/transport/test_producer.py +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/tests/unit/transport/test_utils.py +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/tests/unit/utils/__init__.py +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/tests/unit/utils/terminal/__init__.py +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/tests/unit/utils/terminal/test_spinners.py +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/tests/unit/utils/terminal/test_tables.py +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/tests/unit/utils/test_agent_stopper.py +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/tests/unit/utils/test_codegen.py +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/tests/unit/utils/test_cron.py +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/tests/unit/utils/test_functional.py +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/tests/unit/utils/test_iso8601.py +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/tests/unit/utils/test_json.py +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/tests/unit/utils/test_platforms.py +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/tests/unit/utils/test_urls.py +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/tests/unit/utils/test_utils.py +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/tests/unit/utils/test_venusian.py +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/tests/unit/web/__init__.py +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/tests/unit/web/drivers/__init__.py +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/tests/unit/web/test_base.py +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/tests/unit/web/test_blueprints.py +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/tests/unit/web/test_exceptions.py +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/tests/unit/web/test_views.py +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/tests/unit/windows/test_hopping_window.py +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/tests/unit/windows/test_sliding_window.py +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/tests/unit/windows/test_tumbling_window.py +0 -0
- {faust_streaming-0.13.0 → faust_streaming-0.13.1}/tox.ini +0 -0
|
@@ -33,6 +33,12 @@ omit =
|
|
|
33
33
|
# not needed
|
|
34
34
|
*/faust/utils/iso8601.py
|
|
35
35
|
*/faust/utils/tracing.py
|
|
36
|
+
# opentracing fallback stub: only used when opentracing is NOT installed,
|
|
37
|
+
# which the CI test env is not (it installs faust[opentracing]).
|
|
38
|
+
*/faust/utils/_opentracing.py
|
|
39
|
+
# opentracing distributed-tracing sensor: optional, requires opentracing +
|
|
40
|
+
# a live tracer to exercise; not covered by the CI test suite.
|
|
41
|
+
*/faust/sensors/distributed_tracing.py
|
|
36
42
|
*/faust/types/*
|
|
37
43
|
*/faust/__main__.py
|
|
38
44
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: faust-streaming
|
|
3
|
-
Version: 0.13.
|
|
3
|
+
Version: 0.13.1
|
|
4
4
|
Summary: Python Stream Processing. A Faust fork
|
|
5
5
|
Author-email: Ask Solem Hoel <ask@robinhood.com>, Vineet Goel <vineet@robinhood.com>
|
|
6
6
|
Maintainer-email: Vikram Patki <vpatki@wayfair.com>, William Barnhart <williambbarnhart@gmail.com>
|
|
@@ -91,7 +91,6 @@ Requires-Dist: aiohttp_cors<2.0,>=0.7
|
|
|
91
91
|
Requires-Dist: aiokafka>=0.10.0
|
|
92
92
|
Requires-Dist: click<8.2,>=6.7
|
|
93
93
|
Requires-Dist: mode-streaming>=0.4.0
|
|
94
|
-
Requires-Dist: opentracing<=2.4.0,>=1.3.0
|
|
95
94
|
Requires-Dist: terminaltables<4.0,>=3.1
|
|
96
95
|
Requires-Dist: yarl<2.0,>=1.0
|
|
97
96
|
Requires-Dist: croniter>=0.3.16
|
|
@@ -99,48 +98,46 @@ Requires-Dist: mypy_extensions
|
|
|
99
98
|
Requires-Dist: venusian==3.1.0
|
|
100
99
|
Requires-Dist: intervaltree
|
|
101
100
|
Requires-Dist: six
|
|
101
|
+
Provides-Extra: ciso8601
|
|
102
|
+
Requires-Dist: ciso8601; extra == "ciso8601"
|
|
103
|
+
Provides-Extra: datadog
|
|
104
|
+
Requires-Dist: datadog; extra == "datadog"
|
|
105
|
+
Provides-Extra: statsd
|
|
106
|
+
Requires-Dist: statsd~=4.0.1; extra == "statsd"
|
|
107
|
+
Provides-Extra: rocksdb
|
|
108
|
+
Requires-Dist: faust-streaming-rocksdb>=0.8.0; extra == "rocksdb"
|
|
109
|
+
Provides-Extra: uvloop
|
|
110
|
+
Requires-Dist: uvloop>=0.8.1; extra == "uvloop"
|
|
102
111
|
Provides-Extra: eventlet
|
|
103
112
|
Requires-Dist: faust-aioeventlet; extra == "eventlet"
|
|
104
113
|
Requires-Dist: dnspython; extra == "eventlet"
|
|
105
|
-
Provides-Extra: redis
|
|
106
|
-
Requires-Dist: redis; extra == "redis"
|
|
107
|
-
Provides-Extra: rocksdb
|
|
108
|
-
Requires-Dist: faust-streaming-rocksdb>=0.8.0; extra == "rocksdb"
|
|
109
|
-
Provides-Extra: sentry
|
|
110
|
-
Requires-Dist: raven<7.0,>=6.10.0; extra == "sentry"
|
|
111
|
-
Requires-Dist: raven-aiohttp>=0.7.0; extra == "sentry"
|
|
112
|
-
Requires-Dist: sentry_sdk>=0.7.10; extra == "sentry"
|
|
113
|
-
Provides-Extra: prometheus
|
|
114
|
-
Requires-Dist: prometheus_client; extra == "prometheus"
|
|
115
|
-
Provides-Extra: yaml
|
|
116
|
-
Requires-Dist: pyyaml>=5.1; extra == "yaml"
|
|
117
114
|
Provides-Extra: setproctitle
|
|
118
115
|
Requires-Dist: setproctitle>=1.1; extra == "setproctitle"
|
|
119
|
-
Provides-Extra: cchardet
|
|
120
|
-
Requires-Dist: faust-cchardet; extra == "cchardet"
|
|
121
|
-
Provides-Extra: statsd
|
|
122
|
-
Requires-Dist: statsd~=4.0.1; extra == "statsd"
|
|
123
|
-
Provides-Extra: orjson
|
|
124
|
-
Requires-Dist: orjson<4.0,>=2.0; extra == "orjson"
|
|
125
|
-
Provides-Extra: cython
|
|
126
|
-
Requires-Dist: cython; extra == "cython"
|
|
127
116
|
Provides-Extra: ckafka
|
|
128
117
|
Requires-Dist: confluent-kafka>=2.0.0; extra == "ckafka"
|
|
129
|
-
Provides-Extra:
|
|
130
|
-
Requires-Dist:
|
|
118
|
+
Provides-Extra: debug
|
|
119
|
+
Requires-Dist: setproctitle>=1.1; extra == "debug"
|
|
120
|
+
Requires-Dist: aiomonitor>=0.4.4; extra == "debug"
|
|
121
|
+
Provides-Extra: opentracing
|
|
122
|
+
Requires-Dist: opentracing<=2.4.0,>=1.3.0; extra == "opentracing"
|
|
131
123
|
Provides-Extra: aiodns
|
|
132
124
|
Requires-Dist: aiodns>=1.1; extra == "aiodns"
|
|
133
|
-
Provides-Extra:
|
|
134
|
-
Requires-Dist:
|
|
125
|
+
Provides-Extra: sentry
|
|
126
|
+
Requires-Dist: raven<7.0,>=6.10.0; extra == "sentry"
|
|
127
|
+
Requires-Dist: raven-aiohttp>=0.7.0; extra == "sentry"
|
|
128
|
+
Requires-Dist: sentry_sdk>=0.7.10; extra == "sentry"
|
|
129
|
+
Provides-Extra: redis
|
|
130
|
+
Requires-Dist: redis; extra == "redis"
|
|
135
131
|
Provides-Extra: aiomonitor
|
|
136
132
|
Requires-Dist: aiomonitor>=0.4.4; extra == "aiomonitor"
|
|
137
|
-
Provides-Extra:
|
|
138
|
-
Requires-Dist:
|
|
133
|
+
Provides-Extra: yaml
|
|
134
|
+
Requires-Dist: pyyaml>=5.1; extra == "yaml"
|
|
135
|
+
Provides-Extra: cython
|
|
136
|
+
Requires-Dist: cython; extra == "cython"
|
|
139
137
|
Provides-Extra: rocksdict
|
|
140
138
|
Requires-Dist: rocksdict<4.0,>=0.3.11; extra == "rocksdict"
|
|
141
|
-
Provides-Extra:
|
|
142
|
-
Requires-Dist:
|
|
143
|
-
Requires-Dist: aiomonitor>=0.4.4; extra == "debug"
|
|
139
|
+
Provides-Extra: cchardet
|
|
140
|
+
Requires-Dist: faust-cchardet; extra == "cchardet"
|
|
144
141
|
Provides-Extra: fast
|
|
145
142
|
Requires-Dist: aiodns>=1.1; extra == "fast"
|
|
146
143
|
Requires-Dist: faust-cchardet; extra == "fast"
|
|
@@ -148,6 +145,10 @@ Requires-Dist: ciso8601; extra == "fast"
|
|
|
148
145
|
Requires-Dist: cython; extra == "fast"
|
|
149
146
|
Requires-Dist: orjson<4.0,>=2.0; extra == "fast"
|
|
150
147
|
Requires-Dist: setproctitle>=1.1; extra == "fast"
|
|
148
|
+
Provides-Extra: prometheus
|
|
149
|
+
Requires-Dist: prometheus_client; extra == "prometheus"
|
|
150
|
+
Provides-Extra: orjson
|
|
151
|
+
Requires-Dist: orjson<4.0,>=2.0; extra == "orjson"
|
|
151
152
|
Dynamic: license-file
|
|
152
153
|
Dynamic: provides-extra
|
|
153
154
|
Dynamic: requires-dist
|
|
@@ -0,0 +1,463 @@
|
|
|
1
|
+
.. _guide-testing:
|
|
2
|
+
|
|
3
|
+
=================================================
|
|
4
|
+
Testing
|
|
5
|
+
=================================================
|
|
6
|
+
|
|
7
|
+
.. contents::
|
|
8
|
+
:local:
|
|
9
|
+
:depth: 2
|
|
10
|
+
|
|
11
|
+
.. module:: faust
|
|
12
|
+
:noindex:
|
|
13
|
+
|
|
14
|
+
.. currentmodule:: faust
|
|
15
|
+
|
|
16
|
+
Basics
|
|
17
|
+
======
|
|
18
|
+
|
|
19
|
+
To test an agent when unit testing or functional testing, use the special
|
|
20
|
+
``Agent.test()`` mode to send items to the stream while processing it locally:
|
|
21
|
+
|
|
22
|
+
.. sourcecode:: python
|
|
23
|
+
|
|
24
|
+
app = faust.App('test-example')
|
|
25
|
+
|
|
26
|
+
class Order(faust.Record, serializer='json'):
|
|
27
|
+
account_id: str
|
|
28
|
+
product_id: str
|
|
29
|
+
amount: int
|
|
30
|
+
price: float
|
|
31
|
+
|
|
32
|
+
orders_topic = app.topic('orders', value_type=Order)
|
|
33
|
+
orders_for_account = app.Table('order-count-by-account', default=int)
|
|
34
|
+
|
|
35
|
+
@app.agent(orders_topic)
|
|
36
|
+
async def order(orders):
|
|
37
|
+
async for order in orders.group_by(Order.account_id):
|
|
38
|
+
orders_for_account[order.account_id] += 1
|
|
39
|
+
yield order
|
|
40
|
+
|
|
41
|
+
Our agent reads a stream of orders and keeps a count of them by account id
|
|
42
|
+
in a distributed table also partitioned by the account id.
|
|
43
|
+
|
|
44
|
+
To test this agent we use ``order.test_context()``:
|
|
45
|
+
|
|
46
|
+
.. sourcecode:: python
|
|
47
|
+
|
|
48
|
+
async def test_order():
|
|
49
|
+
# start and stop the agent in this block
|
|
50
|
+
async with order.test_context() as agent:
|
|
51
|
+
order = Order(account_id='1', product_id='2', amount=1, price=300)
|
|
52
|
+
# sent order to the test agents local channel, and wait
|
|
53
|
+
# the agent to process it.
|
|
54
|
+
await agent.put(order)
|
|
55
|
+
# at this point the agent already updated the table
|
|
56
|
+
assert orders_for_account[order.account_id] == 1
|
|
57
|
+
await agent.put(order)
|
|
58
|
+
assert orders_for_account[order.account_id] == 2
|
|
59
|
+
|
|
60
|
+
async def run_tests():
|
|
61
|
+
app.conf.store = 'memory://' # tables must be in-memory
|
|
62
|
+
await test_order()
|
|
63
|
+
|
|
64
|
+
if __name__ == '__main__':
|
|
65
|
+
import asyncio
|
|
66
|
+
loop = asyncio.get_event_loop()
|
|
67
|
+
loop.run_until_complete(run_tests())
|
|
68
|
+
|
|
69
|
+
|
|
70
|
+
For the rest of this guide we'll be using :pypi:`pytest` and
|
|
71
|
+
:pypi:`pytest-asyncio` for our examples. If you're using a different
|
|
72
|
+
testing framework you may have to adapt them a bit to work.
|
|
73
|
+
|
|
74
|
+
Testing with :pypi:`pytest`
|
|
75
|
+
===========================
|
|
76
|
+
|
|
77
|
+
Testing that an agent sends to topic/calls another agent.
|
|
78
|
+
---------------------------------------------------------
|
|
79
|
+
|
|
80
|
+
When unit testing you should mock any dependencies of the agent being tested,
|
|
81
|
+
|
|
82
|
+
- If your agent calls another function: mock that function to verify it was
|
|
83
|
+
called.
|
|
84
|
+
|
|
85
|
+
- If your agent sends a message to a topic: mock that topic to verify
|
|
86
|
+
a message was sent.
|
|
87
|
+
|
|
88
|
+
- If your agent calls another agent: mock the other agent to verify it
|
|
89
|
+
was called.
|
|
90
|
+
|
|
91
|
+
Here's an example agent that calls another agent:
|
|
92
|
+
|
|
93
|
+
.. sourcecode:: python
|
|
94
|
+
|
|
95
|
+
import faust
|
|
96
|
+
|
|
97
|
+
app = faust.App('example-test-agent-call')
|
|
98
|
+
|
|
99
|
+
@app.agent()
|
|
100
|
+
async def foo(stream):
|
|
101
|
+
async for value in stream:
|
|
102
|
+
await bar.send(value)
|
|
103
|
+
yield value
|
|
104
|
+
|
|
105
|
+
@app.agent()
|
|
106
|
+
async def bar(stream):
|
|
107
|
+
async for value in stream:
|
|
108
|
+
yield value + 'YOLO'
|
|
109
|
+
|
|
110
|
+
To test these two agents you have to test them in isolation of each other:
|
|
111
|
+
first test ``foo`` with ``bar`` mocked, then in a different test do ``bar``:
|
|
112
|
+
|
|
113
|
+
.. sourcecode:: python
|
|
114
|
+
|
|
115
|
+
import pytest
|
|
116
|
+
from unittest.mock import Mock, patch
|
|
117
|
+
|
|
118
|
+
from example import app, foo, bar
|
|
119
|
+
|
|
120
|
+
@pytest.fixture(scope="function")
|
|
121
|
+
def test_app(event_loop):
|
|
122
|
+
"""passing in event_loop helps avoid 'attached to a different loop' error"""
|
|
123
|
+
app.loop = event_loop
|
|
124
|
+
app.finalize()
|
|
125
|
+
app.conf.store = 'memory://'
|
|
126
|
+
app.flow_control.resume()
|
|
127
|
+
return app
|
|
128
|
+
|
|
129
|
+
@pytest.mark.asyncio()
|
|
130
|
+
async def test_foo(test_app):
|
|
131
|
+
with patch(__name__ + '.bar') as mocked_bar:
|
|
132
|
+
mocked_bar.send = mock_coro()
|
|
133
|
+
async with foo.test_context() as agent:
|
|
134
|
+
await agent.put('hey')
|
|
135
|
+
mocked_bar.send.assert_called_with('hey')
|
|
136
|
+
|
|
137
|
+
def mock_coro(return_value=None, **kwargs):
|
|
138
|
+
"""Create mock coroutine function."""
|
|
139
|
+
async def wrapped(*args, **kwargs):
|
|
140
|
+
return return_value
|
|
141
|
+
return Mock(wraps=wrapped, **kwargs)
|
|
142
|
+
|
|
143
|
+
@pytest.mark.asyncio()
|
|
144
|
+
async def test_bar(test_app):
|
|
145
|
+
async with bar.test_context() as agent:
|
|
146
|
+
event = await agent.put('hey')
|
|
147
|
+
assert agent.results[event.message.offset] == 'heyYOLO'
|
|
148
|
+
|
|
149
|
+
|
|
150
|
+
You can put the `test_app` fixture into a [`conftest.py` file](https://docs.pytest.org/en/6.2.x/fixture.html#scope-sharing-fixtures-across-classes-modules-packages-or-session). If the fixture is not in the same file as the app's definition (which should be the case) you must import the app the fixture definition:
|
|
151
|
+
|
|
152
|
+
.. sourcecode:: python
|
|
153
|
+
from example import app
|
|
154
|
+
|
|
155
|
+
@pytest.fixture(scope="function")
|
|
156
|
+
def test_app(event_loop):
|
|
157
|
+
"""passing in event_loop helps avoid 'attached to a different loop' error"""
|
|
158
|
+
|
|
159
|
+
from example import app
|
|
160
|
+
|
|
161
|
+
app.loop = event_loop
|
|
162
|
+
app.finalize()
|
|
163
|
+
app.conf.store = 'memory://'
|
|
164
|
+
app.flow_control.resume()
|
|
165
|
+
return app
|
|
166
|
+
|
|
167
|
+
.. note::
|
|
168
|
+
|
|
169
|
+
The :pypi:`pytest-asyncio` extension must be installed to run these tests.
|
|
170
|
+
If you don't have it use :program:`pip` to install it:
|
|
171
|
+
|
|
172
|
+
.. sourcecode:: console
|
|
173
|
+
|
|
174
|
+
$ pip install -U pytest-asyncio
|
|
175
|
+
|
|
176
|
+
|
|
177
|
+
Setting up a test suite
|
|
178
|
+
=======================
|
|
179
|
+
|
|
180
|
+
A faust app is normally a module-level singleton whose agents are attached to
|
|
181
|
+
it at import time, so a suite needs a little setup before those agents can be
|
|
182
|
+
started in isolation.
|
|
183
|
+
|
|
184
|
+
The four files below are a complete, working suite: copy them into an empty
|
|
185
|
+
directory, ``pip install faust-streaming pytest pytest-asyncio``, run
|
|
186
|
+
:program:`pytest`, and four tests pass. The rest of this section explains
|
|
187
|
+
what each piece is doing.
|
|
188
|
+
|
|
189
|
+
The application under test -- :file:`myapp.py`
|
|
190
|
+
----------------------------------------------
|
|
191
|
+
|
|
192
|
+
The agent here is a *pure consumer*: it updates a table, calls a service and
|
|
193
|
+
forwards to another topic, and never yields. See
|
|
194
|
+
:ref:`testing-sinkless-agents` for why that shape needs no sink.
|
|
195
|
+
|
|
196
|
+
.. sourcecode:: python
|
|
197
|
+
|
|
198
|
+
import faust
|
|
199
|
+
|
|
200
|
+
|
|
201
|
+
class Order(faust.Record, serializer='json'):
|
|
202
|
+
account_id: str
|
|
203
|
+
amount: int
|
|
204
|
+
|
|
205
|
+
|
|
206
|
+
app = faust.App('orders-app', broker='kafka://localhost:9092')
|
|
207
|
+
|
|
208
|
+
orders_topic = app.topic('orders', value_type=Order)
|
|
209
|
+
shipped_topic = app.topic('shipped', value_type=Order)
|
|
210
|
+
|
|
211
|
+
orders_for_account = app.Table('order-count-by-account', default=int)
|
|
212
|
+
|
|
213
|
+
|
|
214
|
+
async def notify_warehouse(order: Order) -> None:
|
|
215
|
+
"""Pretend this calls an external HTTP service."""
|
|
216
|
+
...
|
|
217
|
+
|
|
218
|
+
|
|
219
|
+
@app.agent(orders_topic)
|
|
220
|
+
async def track_order(orders):
|
|
221
|
+
# NOTE: no ``yield`` -- this agent is a pure consumer.
|
|
222
|
+
async for order in orders:
|
|
223
|
+
orders_for_account[order.account_id] += 1
|
|
224
|
+
await notify_warehouse(order)
|
|
225
|
+
await shipped_topic.send(value=order)
|
|
226
|
+
|
|
227
|
+
Enabling async tests -- :file:`pytest.ini`
|
|
228
|
+
------------------------------------------
|
|
229
|
+
|
|
230
|
+
These examples use :pypi:`pytest-asyncio` in ``auto`` mode, so async tests and
|
|
231
|
+
fixtures need no decorator:
|
|
232
|
+
|
|
233
|
+
.. sourcecode:: ini
|
|
234
|
+
|
|
235
|
+
[pytest]
|
|
236
|
+
asyncio_mode = auto
|
|
237
|
+
|
|
238
|
+
Fixtures -- :file:`conftest.py`
|
|
239
|
+
-------------------------------
|
|
240
|
+
|
|
241
|
+
.. sourcecode:: python
|
|
242
|
+
|
|
243
|
+
import asyncio
|
|
244
|
+
from unittest.mock import AsyncMock
|
|
245
|
+
|
|
246
|
+
import pytest
|
|
247
|
+
|
|
248
|
+
import myapp
|
|
249
|
+
from myapp import app as _app
|
|
250
|
+
|
|
251
|
+
|
|
252
|
+
@pytest.fixture()
|
|
253
|
+
async def app():
|
|
254
|
+
# Bind the app to the event loop pytest-asyncio created for this test.
|
|
255
|
+
_app.loop = asyncio.get_running_loop()
|
|
256
|
+
_app.finalize()
|
|
257
|
+
_app.conf.store = 'memory://'
|
|
258
|
+
_app.flow_control.resume()
|
|
259
|
+
return _app
|
|
260
|
+
|
|
261
|
+
|
|
262
|
+
@pytest.fixture()
|
|
263
|
+
def shipped(monkeypatch):
|
|
264
|
+
"""Keep the agent from reaching a real broker."""
|
|
265
|
+
send = AsyncMock()
|
|
266
|
+
monkeypatch.setattr(myapp.shipped_topic, 'send', send)
|
|
267
|
+
return send
|
|
268
|
+
|
|
269
|
+
|
|
270
|
+
@pytest.fixture()
|
|
271
|
+
def warehouse(monkeypatch):
|
|
272
|
+
"""Keep the agent from calling the real service."""
|
|
273
|
+
notify = AsyncMock()
|
|
274
|
+
monkeypatch.setattr(myapp, 'notify_warehouse', notify)
|
|
275
|
+
return notify
|
|
276
|
+
|
|
277
|
+
The tests -- :file:`test_myapp.py`
|
|
278
|
+
----------------------------------
|
|
279
|
+
|
|
280
|
+
.. sourcecode:: python
|
|
281
|
+
|
|
282
|
+
from myapp import Order, orders_for_account, track_order
|
|
283
|
+
|
|
284
|
+
|
|
285
|
+
async def test_counts_orders_per_account(app, shipped, warehouse):
|
|
286
|
+
async with track_order.test_context() as agent:
|
|
287
|
+
await agent.put(Order(account_id='A', amount=1))
|
|
288
|
+
assert orders_for_account['A'] == 1
|
|
289
|
+
|
|
290
|
+
await agent.put(Order(account_id='A', amount=2))
|
|
291
|
+
assert orders_for_account['A'] == 2
|
|
292
|
+
|
|
293
|
+
|
|
294
|
+
async def test_notifies_warehouse(app, shipped, warehouse):
|
|
295
|
+
async with track_order.test_context() as agent:
|
|
296
|
+
order = Order(account_id='B', amount=3)
|
|
297
|
+
await agent.put(order)
|
|
298
|
+
warehouse.assert_awaited_once_with(order)
|
|
299
|
+
|
|
300
|
+
|
|
301
|
+
async def test_forwards_to_shipped_topic(app, shipped, warehouse):
|
|
302
|
+
async with track_order.test_context() as agent:
|
|
303
|
+
order = Order(account_id='C', amount=4)
|
|
304
|
+
await agent.put(order)
|
|
305
|
+
shipped.assert_awaited_once_with(value=order)
|
|
306
|
+
|
|
307
|
+
|
|
308
|
+
async def test_results_records_input_values(app, shipped, warehouse):
|
|
309
|
+
async with track_order.test_context() as agent:
|
|
310
|
+
order = Order(account_id='D', amount=5)
|
|
311
|
+
await agent.put(order)
|
|
312
|
+
# For a sink-less agent ``results`` holds what went IN.
|
|
313
|
+
assert agent.results[0] == order
|
|
314
|
+
|
|
315
|
+
What the ``app`` fixture is doing
|
|
316
|
+
----------------------------------
|
|
317
|
+
|
|
318
|
+
Each line earns its place:
|
|
319
|
+
|
|
320
|
+
``_app.loop``
|
|
321
|
+
Re-binds the app to the event loop :pypi:`pytest-asyncio` created for this
|
|
322
|
+
test. A module-level app otherwise stays bound to the loop of whichever
|
|
323
|
+
test ran first, and every later test fails with ``RuntimeError: Event loop
|
|
324
|
+
is closed``.
|
|
325
|
+
|
|
326
|
+
``_app.finalize()``
|
|
327
|
+
Completes app configuration. Normally the worker does this for you.
|
|
328
|
+
|
|
329
|
+
``_app.conf.store = 'memory://'``
|
|
330
|
+
Tables must be in-memory in tests; the default (RocksDB) wants a real data
|
|
331
|
+
directory. Faust warns that the setting arrives after your topics and
|
|
332
|
+
agents were declared -- expected here and harmless, since no table has
|
|
333
|
+
started yet. Set ``store`` on the :class:`~faust.App` itself if you would
|
|
334
|
+
rather not see the warning.
|
|
335
|
+
|
|
336
|
+
``_app.flow_control.resume()``
|
|
337
|
+
Stream queues start out suspended. Omit this and the agent never receives
|
|
338
|
+
anything, so ``put()`` hangs forever.
|
|
339
|
+
|
|
340
|
+
.. note::
|
|
341
|
+
|
|
342
|
+
The ``test_app`` fixture shown earlier does the same job, but reaches the
|
|
343
|
+
loop by requesting :pypi:`pytest-asyncio`'s ``event_loop`` fixture. Recent
|
|
344
|
+
releases deprecate that (*"Asynchronous fixtures and test functions should
|
|
345
|
+
use asyncio.get_running_loop() instead"*), so prefer the async fixture
|
|
346
|
+
above in new test suites.
|
|
347
|
+
|
|
348
|
+
Mock anything that leaves the process
|
|
349
|
+
--------------------------------------
|
|
350
|
+
|
|
351
|
+
``test_context()`` feeds the agent through a local channel, but it does *not*
|
|
352
|
+
stub out the rest of your app. If the agent sends to a topic or calls an
|
|
353
|
+
external service it will genuinely try to, and the test fails with::
|
|
354
|
+
|
|
355
|
+
aiokafka.errors.KafkaConnectionError: Unable to bootstrap from [('localhost', 9092, ...)]
|
|
356
|
+
|
|
357
|
+
That is what the ``shipped`` and ``warehouse`` fixtures are for: give every
|
|
358
|
+
outbound dependency its own fixture, so each test both stays offline and gets
|
|
359
|
+
a mock it can assert on.
|
|
360
|
+
|
|
361
|
+
.. _testing-sinkless-agents:
|
|
362
|
+
|
|
363
|
+
Testing agents that don't yield
|
|
364
|
+
===============================
|
|
365
|
+
|
|
366
|
+
Every earlier example ends in ``yield`` and reads its output back through
|
|
367
|
+
``agent.results``. Plenty of real agents never yield: they update a table,
|
|
368
|
+
call a service, or forward to another topic and stop there. Such an agent
|
|
369
|
+
cannot use sinks at all -- attaching one raises
|
|
370
|
+
``ImproperlyConfigured('Agent must yield to use sinks')`` -- yet
|
|
371
|
+
``test_context()`` tests them perfectly well. ``track_order`` above is
|
|
372
|
+
exactly that shape.
|
|
373
|
+
|
|
374
|
+
Because nothing is yielded, you assert on what the agent *did* rather than on
|
|
375
|
+
what it returned: the table it wrote (``test_counts_orders_per_account``), the
|
|
376
|
+
service it called (``test_notifies_warehouse``), and the message it forwarded
|
|
377
|
+
(``test_forwards_to_shipped_topic``).
|
|
378
|
+
|
|
379
|
+
What ``agent.results`` holds
|
|
380
|
+
----------------------------
|
|
381
|
+
|
|
382
|
+
``results`` is populated for both kinds of agent, but it does not mean the
|
|
383
|
+
same thing in each case:
|
|
384
|
+
|
|
385
|
+
===================== =============================================
|
|
386
|
+
Agent ``agent.results[offset]`` contains
|
|
387
|
+
===================== =============================================
|
|
388
|
+
yields the value the agent **yielded** (its output)
|
|
389
|
+
does not yield the value that was **sent in** (its input)
|
|
390
|
+
===================== =============================================
|
|
391
|
+
|
|
392
|
+
There is no output to capture for a sink-less agent, so faust records the
|
|
393
|
+
incoming value instead. That still makes ``results`` useful for confirming
|
|
394
|
+
which values reached the agent -- as ``test_results_records_input_values``
|
|
395
|
+
does above -- but do not read it expecting a return value.
|
|
396
|
+
|
|
397
|
+
.. admonition:: When ``put()`` returns
|
|
398
|
+
|
|
399
|
+
``await agent.put(value)`` waits for the value to be picked up by the
|
|
400
|
+
agent, and for an agent body that does not ``await`` anything mid-loop the
|
|
401
|
+
side effects are already visible when ``put()`` returns -- which is why the
|
|
402
|
+
assertions above can follow it directly.
|
|
403
|
+
|
|
404
|
+
If the body *does* await something (an HTTP call, ``asyncio.sleep``, a real
|
|
405
|
+
``send``), ``put()`` can return before the body has finished with that
|
|
406
|
+
value, and asserting immediately will be flaky. Wait for the effect rather
|
|
407
|
+
than assuming it -- for example by leaving the ``async with`` block, since
|
|
408
|
+
stopping the agent drains what is in flight:
|
|
409
|
+
|
|
410
|
+
.. sourcecode:: python
|
|
411
|
+
|
|
412
|
+
async def test_slow_agent(app):
|
|
413
|
+
processed = []
|
|
414
|
+
async with slow_agent.test_context() as agent:
|
|
415
|
+
await agent.put('a')
|
|
416
|
+
# the context manager stopped the agent: work is finished
|
|
417
|
+
assert processed == ['a']
|
|
418
|
+
|
|
419
|
+
Testing and windowed tables
|
|
420
|
+
===========================
|
|
421
|
+
|
|
422
|
+
If your table is windowed and you want to verify that the value for a key is
|
|
423
|
+
correctly set, use ``table[k].current(event)`` to get the value placed within
|
|
424
|
+
the window of the current event:
|
|
425
|
+
|
|
426
|
+
.. sourcecode:: python
|
|
427
|
+
|
|
428
|
+
import faust
|
|
429
|
+
import pytest
|
|
430
|
+
|
|
431
|
+
@pytest.mark.asyncio()
|
|
432
|
+
async def test_process_order():
|
|
433
|
+
app.conf.store = 'memory://'
|
|
434
|
+
async with process_order.test_context() as agent:
|
|
435
|
+
order = Order(account_id='1', product_id='2', amount=1, price=300)
|
|
436
|
+
event = await agent.put(order)
|
|
437
|
+
|
|
438
|
+
# windowed table: we select window relative to the current event
|
|
439
|
+
assert orders_for_account['1'].current(event) == 1
|
|
440
|
+
|
|
441
|
+
# in the window 3 hours ago there were no orders:
|
|
442
|
+
assert orders_for_account['1'].delta(3600 * 3, event)
|
|
443
|
+
|
|
444
|
+
|
|
445
|
+
class Order(faust.Record, serializer='json'):
|
|
446
|
+
account_id: str
|
|
447
|
+
product_id: str
|
|
448
|
+
amount: int
|
|
449
|
+
price: float
|
|
450
|
+
|
|
451
|
+
app = faust.App('test-example')
|
|
452
|
+
orders_topic = app.topic('orders', value_type=Order)
|
|
453
|
+
|
|
454
|
+
# order count within the last hour (window is a 1-hour TumblingWindow).
|
|
455
|
+
orders_for_account = app.Table(
|
|
456
|
+
'order-count-by-account', default=int,
|
|
457
|
+
).tumbling(3600).relative_to_stream()
|
|
458
|
+
|
|
459
|
+
@app.agent(orders_topic)
|
|
460
|
+
async def process_order(orders):
|
|
461
|
+
async for order in orders.group_by(Order.account_id):
|
|
462
|
+
orders_for_account[order.account_id] += 1
|
|
463
|
+
yield order
|
|
@@ -4,6 +4,7 @@ import asyncio
|
|
|
4
4
|
import typing
|
|
5
5
|
from contextlib import suppress
|
|
6
6
|
from contextvars import ContextVar
|
|
7
|
+
from inspect import isasyncgenfunction
|
|
7
8
|
from time import time
|
|
8
9
|
from typing import (
|
|
9
10
|
Any,
|
|
@@ -1116,11 +1117,28 @@ class AgentTestWrapper(Agent, AgentTestWrapperT): # pragma: no cover
|
|
|
1116
1117
|
self.results = {}
|
|
1117
1118
|
self.new_value_processed = asyncio.Condition()
|
|
1118
1119
|
self.original_channel = cast(ChannelT, original_channel)
|
|
1119
|
-
self.add_sink(self._on_value_processed)
|
|
1120
1120
|
self._stream = self.channel.stream()
|
|
1121
|
+
# Agents that never yield cannot use sinks -- ``_prepare_actor``
|
|
1122
|
+
# raises ``ImproperlyConfigured('Agent must yield to use sinks')``
|
|
1123
|
+
# for them. So only attach the results sink when the wrapped agent
|
|
1124
|
+
# actually yields; for sink-less agents observe processed values with
|
|
1125
|
+
# a stream processor instead, so ``test_context`` works either way.
|
|
1126
|
+
# See issue #433.
|
|
1127
|
+
self._agent_yields = isasyncgenfunction(self.fun)
|
|
1128
|
+
if self._agent_yields:
|
|
1129
|
+
self.add_sink(self._on_value_processed)
|
|
1130
|
+
else:
|
|
1131
|
+
self._stream.add_processor(self._on_value_processed_processor)
|
|
1121
1132
|
self.sent_offset = 0
|
|
1122
1133
|
self.processed_offset = 0
|
|
1123
1134
|
|
|
1135
|
+
async def _on_value_processed_processor(self, value: Any) -> Any:
|
|
1136
|
+
# Sink-less agents don't yield, so we can't observe their output.
|
|
1137
|
+
# Record the incoming value and wake up any ``put(wait=True)`` caller
|
|
1138
|
+
# instead, then hand the value on to the agent unchanged.
|
|
1139
|
+
await self._on_value_processed(value)
|
|
1140
|
+
return value
|
|
1141
|
+
|
|
1124
1142
|
async def on_stop(self) -> None:
|
|
1125
1143
|
await self._stream.stop()
|
|
1126
1144
|
await super().on_stop()
|
|
@@ -42,7 +42,10 @@ from typing import (
|
|
|
42
42
|
no_type_check,
|
|
43
43
|
)
|
|
44
44
|
|
|
45
|
-
|
|
45
|
+
try:
|
|
46
|
+
import opentracing
|
|
47
|
+
except ImportError: # pragma: no cover
|
|
48
|
+
from faust.utils import _opentracing as opentracing # type: ignore
|
|
46
49
|
from mode import Seconds, Service, ServiceT, SupervisorStrategyT, want_seconds
|
|
47
50
|
from mode.utils.aiter import aiter
|
|
48
51
|
from mode.utils.collections import force_mapping
|
|
@@ -331,7 +331,19 @@ class UnionNode(Node):
|
|
|
331
331
|
return (x for x in union_args if not _is_NoneType(x))
|
|
332
332
|
|
|
333
333
|
def build(self, var: Variable, *args: Type) -> str:
|
|
334
|
-
|
|
334
|
+
# A union that reaches this point is heterogeneous: its members are
|
|
335
|
+
# neither all Model subclasses nor all built-in scalar/"literal" types
|
|
336
|
+
# (both of those are collapsed to a single node by
|
|
337
|
+
# `_maybe_unroll_union` above). There is no unambiguous way to coerce a
|
|
338
|
+
# value into such a union -- e.g. ``str | list | dict | None`` -- so we
|
|
339
|
+
# pass the already-deserialized value through unchanged. This mirrors
|
|
340
|
+
# the handling of an all-literal union such as ``Union[str, int,
|
|
341
|
+
# float]`` (which compiles to a bare pass-through) and restores the
|
|
342
|
+
# behavior that existed before mode-streaming started recognizing PEP
|
|
343
|
+
# 604 (``X | Y``) unions; that change made annotations like ``str |
|
|
344
|
+
# list | dict | None`` reach this node and raise NotImplementedError at
|
|
345
|
+
# class-definition time (faust-streaming/mode#80).
|
|
346
|
+
return f"{var}"
|
|
335
347
|
|
|
336
348
|
|
|
337
349
|
class LiteralNode(Node):
|
|
@@ -3,11 +3,16 @@ from functools import cached_property
|
|
|
3
3
|
from typing import Any, Dict
|
|
4
4
|
|
|
5
5
|
import aiohttp
|
|
6
|
-
import opentracing
|
|
7
6
|
from mode import get_logger
|
|
8
7
|
from mode.utils.compat import want_str
|
|
9
|
-
|
|
10
|
-
|
|
8
|
+
|
|
9
|
+
try:
|
|
10
|
+
import opentracing
|
|
11
|
+
from opentracing import Format
|
|
12
|
+
from opentracing.ext import tags
|
|
13
|
+
except ImportError: # pragma: no cover
|
|
14
|
+
from faust.utils import _opentracing as opentracing # type: ignore
|
|
15
|
+
from faust.utils._opentracing import Format, tags
|
|
11
16
|
|
|
12
17
|
from faust import App, EventT, Sensor, StreamT
|
|
13
18
|
from faust.types import TP, Message, PendingMessage, ProducerT, RecordMetadata
|
|
@@ -20,7 +20,10 @@ from typing import (
|
|
|
20
20
|
cast,
|
|
21
21
|
)
|
|
22
22
|
|
|
23
|
-
|
|
23
|
+
try:
|
|
24
|
+
import opentracing
|
|
25
|
+
except ImportError: # pragma: no cover
|
|
26
|
+
from faust.utils import _opentracing as opentracing # type: ignore
|
|
24
27
|
from aiokafka.errors import IllegalStateError
|
|
25
28
|
from mode import Service, get_logger
|
|
26
29
|
from mode.services import WaitArgT
|