Yurii Serhiichuk
eedc61e9b0
Update CI and tooling ( #236 )
...
* Update pre-commit hooks
Signed-off-by: Yurii Serhiichuk <savik.ne@gmail.com>
* Add Python 3.12
Signed-off-by: Yurii Serhiichuk <savik.ne@gmail.com>
* Drop python 3.7 and add 3.12 to TOX
Signed-off-by: Yurii Serhiichuk <savik.ne@gmail.com>
* Migrate to latest action versions. Drop v3.7 from CI and add 3.12
Signed-off-by: Yurii Serhiichuk <savik.ne@gmail.com>
* Migrate to Python 3.8
Signed-off-by: Yurii Serhiichuk <savik.ne@gmail.com>
* Fix changelog message.
Signed-off-by: Yurii Serhiichuk <savik.ne@gmail.com>
---------
Signed-off-by: Yurii Serhiichuk <savik.ne@gmail.com>
2024-05-26 21:49:35 +03:00
Yurii Serhiichuk
21572afb57
Fix Pydantic custom attributes ( #229 )
...
* Add custom extension attribute to the test set.
Replicates bug test data from the https://github.com/cloudevents/sdk-python/issues/228
Signed-off-by: Yurii Serhiichuk <savik.ne@gmail.com>
* use modern `super` syntax
Signed-off-by: Yurii Serhiichuk <savik.ne@gmail.com>
* Fix `black` language version
Signed-off-by: Yurii Serhiichuk <savik.ne@gmail.com>
* Fixes https://github.com/cloudevents/sdk-python/issues/228
Pydantic v2 .__dict__ has different behavior from what Pydantic v1 had and is not giving us `extra` fields anymore. On the other hand the iterator over the event gives us extras as well
Signed-off-by: Yurii Serhiichuk <savik.ne@gmail.com>
* Add missing EOF
Signed-off-by: Yurii Serhiichuk <savik.ne@gmail.com>
* Add Pydantic fix to the changelog
Signed-off-by: Yurii Serhiichuk <savik.ne@gmail.com>
* Add links to the changelog
Signed-off-by: Yurii Serhiichuk <savik.ne@gmail.com>
* Bump version
Signed-off-by: Yurii Serhiichuk <savik.ne@gmail.com>
* Update Black and MyPy versions
Signed-off-by: Yurii Serhiichuk <savik.ne@gmail.com>
---------
Signed-off-by: Yurii Serhiichuk <savik.ne@gmail.com>
2023-10-30 06:44:36 +01:00
pre-commit-ci[bot]
8ada7d947b
[pre-commit.ci] pre-commit autoupdate ( #224 )
...
updates:
- [github.com/pre-commit/pre-commit-hooks: v4.4.0 → v4.5.0](https://github.com/pre-commit/pre-commit-hooks/compare/v4.4.0...v4.5.0 )
- [github.com/pre-commit/mirrors-mypy: v1.5.1 → v1.6.0](https://github.com/pre-commit/mirrors-mypy/compare/v1.5.1...v1.6.0 )
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2023-10-23 15:24:12 +03:00
Doug Davis
c5418b99a0
add link to our security mailing list ( #226 )
...
Signed-off-by: Doug Davis <dug@microsoft.com>
2023-10-16 19:14:38 +03:00
Yurii Serhiichuk
d4873037e2
Release/v1.10.0 ( #223 )
...
* Bump version
Signed-off-by: Yurii Serhiichuk <savik.ne@gmail.com>
* Update changelog
Signed-off-by: Yurii Serhiichuk <savik.ne@gmail.com>
---------
Signed-off-by: Yurii Serhiichuk <savik.ne@gmail.com>
2023-09-25 08:00:00 -06:00
pre-commit-ci[bot]
66dcabb254
[pre-commit.ci] pre-commit autoupdate ( #220 )
...
updates:
- [github.com/psf/black: 23.7.0 → 23.9.1](https://github.com/psf/black/compare/23.7.0...23.9.1 )
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Yurii Serhiichuk <xSAVIKx@users.noreply.github.com>
2023-09-25 12:29:56 +03:00
Doug Davis
252efdbbce
Governance docs per CE PR 1226 ( #221 )
...
Signed-off-by: Doug Davis <dug@microsoft.com>
2023-09-21 22:59:54 +03:00
Federico Busetti
5a1063e50d
Pydantic v2 native implementation ( #219 )
...
* Create stub pydantic v2 implementation and parametrize tests for both implementations
Signed-off-by: Federico Busetti <729029+febus982@users.noreply.github.com>
* Add default values to optional fields
Signed-off-by: Federico Busetti <729029+febus982@users.noreply.github.com>
* Adapt pydantic v1 serializer/deserializer logic
Signed-off-by: Federico Busetti <729029+febus982@users.noreply.github.com>
* Extract CloudEvent fields non functional data in separate module
Signed-off-by: Federico Busetti <729029+febus982@users.noreply.github.com>
* Fix lint
Signed-off-by: Federico Busetti <729029+febus982@users.noreply.github.com>
* Add missing Copyright
Signed-off-by: Federico Busetti <729029+febus982@users.noreply.github.com>
* Add missing docstring
Signed-off-by: Federico Busetti <729029+febus982@users.noreply.github.com>
* Remove test leftover
Signed-off-by: Federico Busetti <729029+febus982@users.noreply.github.com>
* Remove dependency on HTTP CloudEvent implementation
Signed-off-by: Federico Busetti <729029+febus982@users.noreply.github.com>
* Remove failing test for unsupported scenario
Fix typo
Signed-off-by: Federico Busetti <729029+febus982@users.noreply.github.com>
* Use SDK json serialization logic
Signed-off-by: Federico Busetti <729029+febus982@users.noreply.github.com>
* No need to filter base64_data
Signed-off-by: Federico Busetti <729029+febus982@users.noreply.github.com>
* Use SDK json deserialization logic
Signed-off-by: Federico Busetti <729029+febus982@users.noreply.github.com>
* Fix imports
Signed-off-by: Federico Busetti <729029+febus982@users.noreply.github.com>
* Move docs after field declarations
Signed-off-by: Federico Busetti <729029+febus982@users.noreply.github.com>
* Add test for model_validate_json method
Signed-off-by: Federico Busetti <729029+febus982@users.noreply.github.com>
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* Use fully qualified imports
Signed-off-by: Federico Busetti <729029+febus982@users.noreply.github.com>
* Ignore typing error
Signed-off-by: Federico Busetti <729029+febus982@users.noreply.github.com>
---------
Signed-off-by: Federico Busetti <729029+febus982@users.noreply.github.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2023-09-20 22:59:13 +03:00
pre-commit-ci[bot]
e5f76ed14c
[pre-commit.ci] pre-commit autoupdate ( #212 )
...
updates:
- [github.com/psf/black: 23.3.0 → 23.7.0](https://github.com/psf/black/compare/23.3.0...23.7.0 )
- [github.com/pre-commit/mirrors-mypy: v1.2.0 → v1.5.1](https://github.com/pre-commit/mirrors-mypy/compare/v1.2.0...v1.5.1 )
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Yurii Serhiichuk <xSAVIKx@users.noreply.github.com>
2023-08-28 20:29:25 +03:00
Federico Busetti
739c71e0b7
Adds a pydantic V2 compatibility layer ( #218 )
...
* feat: Pydantic V2 compatibility layer
Signed-off-by: Federico Busetti <729029+febus982@users.noreply.github.com>
* Ignore incompatible import
Signed-off-by: Federico Busetti <729029+febus982@users.noreply.github.com>
---------
Signed-off-by: Federico Busetti <729029+febus982@users.noreply.github.com>
2023-08-28 20:09:53 +03:00
pre-commit-ci[bot]
8104ce1b68
[pre-commit.ci] pre-commit autoupdate ( #205 )
...
* [pre-commit.ci] pre-commit autoupdate
updates:
- [github.com/pycqa/isort: 5.11.4 → 5.12.0](https://github.com/pycqa/isort/compare/5.11.4...5.12.0 )
- [github.com/psf/black: 22.12.0 → 23.3.0](https://github.com/psf/black/compare/22.12.0...23.3.0 )
- [github.com/pre-commit/mirrors-mypy: v0.991 → v1.2.0](https://github.com/pre-commit/mirrors-mypy/compare/v0.991...v1.2.0 )
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
---------
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2023-05-14 20:53:02 +03:00
Yurii Serhiichuk
ef982743b6
Add Python 3.11 support ( #209 )
...
* docs: add missing release notes
Signed-off-by: Yurii Serhiichuk <savik.ne@gmail.com>
* chore: add Python3.11 support
Signed-off-by: Yurii Serhiichuk <savik.ne@gmail.com>
* chore: Bump version
Signed-off-by: Yurii Serhiichuk <savik.ne@gmail.com>
* docs: create release section
Signed-off-by: Yurii Serhiichuk <savik.ne@gmail.com>
Signed-off-by: Yurii Serhiichuk <savik.ne@gmail.com>
2023-01-04 11:33:33 -07:00
Yurii Serhiichuk
5e00c4f41f
Introduce typings ( #207 )
...
* chore: Add pre-commit hook
Signed-off-by: Yurii Serhiichuk <savik.ne@gmail.com>
* chore: address typing issues
Signed-off-by: Yurii Serhiichuk <savik.ne@gmail.com>
* chore: add py.typed meta
Signed-off-by: Yurii Serhiichuk <savik.ne@gmail.com>
* Add Pydantic plugin
Signed-off-by: Yurii Serhiichuk <savik.ne@gmail.com>
* Add Pydantic dependency
Signed-off-by: Yurii Serhiichuk <savik.ne@gmail.com>
* Add MyPy best practices configs
Signed-off-by: Yurii Serhiichuk <savik.ne@gmail.com>
* Add deprecation MyPy ignore
Signed-off-by: Yurii Serhiichuk <savik.ne@gmail.com>
* chore: more typing fixes
Signed-off-by: Yurii Serhiichuk <savik.ne@gmail.com>
* chore: more typings and explicit optionals
Signed-off-by: Yurii Serhiichuk <savik.ne@gmail.com>
* Use lowest-supported Python version
Signed-off-by: Yurii Serhiichuk <savik.ne@gmail.com>
* chore: Fix silly `dict` and other MyPy-related issues.
We're now explicitly ensuring codebase supports Python3.7+
Signed-off-by: Yurii Serhiichuk <savik.ne@gmail.com>
* chore: ignore typing limitation
Signed-off-by: Yurii Serhiichuk <savik.ne@gmail.com>
* chore: `not` with `dict` returns `false` for an empty dict, so use `is None` check
Signed-off-by: Yurii Serhiichuk <savik.ne@gmail.com>
* deps: Update hooks
Signed-off-by: Yurii Serhiichuk <savik.ne@gmail.com>
* chore: Make sure only non-callable unmarshallers are flagged
Signed-off-by: Yurii Serhiichuk <savik.ne@gmail.com>
* chore: Have some coverage slack
Signed-off-by: Yurii Serhiichuk <savik.ne@gmail.com>
* deps: bump pre-commit-hooks
Signed-off-by: Yurii Serhiichuk <savik.ne@gmail.com>
* ci: make sure py.typed is included into the bundle
Signed-off-by: Yurii Serhiichuk <savik.ne@gmail.com>
* docs: improve setup.py setup and add missing package metadata
Signed-off-by: Yurii Serhiichuk <savik.ne@gmail.com>
Signed-off-by: Yurii Serhiichuk <savik.ne@gmail.com>
2023-01-04 08:29:41 -07:00
Yurii Serhiichuk
a02864eaab
Drop python36 ( #208 )
...
* chore: drop Python 3.6 official support
Signed-off-by: Yurii Serhiichuk <savik.ne@gmail.com>
* docs: update docs regarding Python 3.6 being unsupported anymore
Signed-off-by: Yurii Serhiichuk <savik.ne@gmail.com>
* deps: drop Python3.6-only dependencies
Signed-off-by: Yurii Serhiichuk <savik.ne@gmail.com>
* chore: drop extra `;`
Signed-off-by: Yurii Serhiichuk <savik.ne@gmail.com>
* chore: try `setup.py` syntax
Signed-off-by: Yurii Serhiichuk <savik.ne@gmail.com>
Signed-off-by: Yurii Serhiichuk <savik.ne@gmail.com>
2022-12-09 07:26:30 -07:00
Yurii Serhiichuk
119264cdfe
hotfix: Hotfix Pydantic dependency constraints. ( #204 )
...
* hotfix: Hotfix Pydantic dependency constraints.
docs: Add mention of the constraints fix
Signed-off-by: Yurii Serhiichuk <savik.ne@gmail.com>
chore: bump version
Signed-off-by: Yurii Serhiichuk <savik.ne@gmail.com>
fix: PyPi constraints for Pydantic
Signed-off-by: Yurii Serhiichuk <savik.ne@gmail.com>
ci: add ability to release from tag branches.
Signed-off-by: Yurii Serhiichuk <savik.ne@gmail.com>
* docs: add missing links
Signed-off-by: Yurii Serhiichuk <savik.ne@gmail.com>
* docs: fix release 1.6.3 link
Signed-off-by: Yurii Serhiichuk <savik.ne@gmail.com>
Signed-off-by: Yurii Serhiichuk <savik.ne@gmail.com>
2022-11-22 08:03:03 -07:00
Yurii Serhiichuk
81f07b6d9f
ci: refine publishing WF ( #202 )
...
* ci: update CI workflow to use `buildwheel` action.
Signed-off-by: Yurii Serhiichuk <savik.ne@gmail.com>
* docs: Add pipeline change to the changelog
Signed-off-by: Yurii Serhiichuk <savik.ne@gmail.com>
* chore: temporary add ability to build on PRs.
Signed-off-by: Yurii Serhiichuk <savik.ne@gmail.com>
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* ci: Do not try using cibuildwheels
Signed-off-by: Yurii Serhiichuk <savik.ne@gmail.com>
* docs: Update changelog
Signed-off-by: Yurii Serhiichuk <savik.ne@gmail.com>
* ci: don't build on PRs
Signed-off-by: Yurii Serhiichuk <savik.ne@gmail.com>
* ci: don't fetch repo history on publish
Signed-off-by: Yurii Serhiichuk <savik.ne@gmail.com>
Signed-off-by: Yurii Serhiichuk <savik.ne@gmail.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2022-11-21 07:20:09 -07:00
Yurii Serhiichuk
cf5616be42
Release/v1.7.0 ( #201 )
...
* chore: Fix typings errors and cleanup code a bit
Signed-off-by: Yurii Serhiichuk <savik.ne@gmail.com>
* chore: Use `AnyStr` shortcut instead of `Union[bytes, str]`
Signed-off-by: Yurii Serhiichuk <savik.ne@gmail.com>
* chore: Bump version.
Signed-off-by: Yurii Serhiichuk <savik.ne@gmail.com>
* Update the changelog
Signed-off-by: Yurii Serhiichuk <savik.ne@gmail.com>
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
Signed-off-by: Yurii Serhiichuk <savik.ne@gmail.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2022-11-17 21:47:29 -07:00
David W Martines
de61dd9fd2
feat: Kafka Protocol ( #197 )
...
* Add kafka event and conversions.
Signed-off-by: davidwmartines <d5172@yahoo.com>
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* Remove kafka CloudEvent class
Signed-off-by: davidwmartines <d5172@yahoo.com>
* Update conversion and init
Signed-off-by: davidwmartines <d5172@yahoo.com>
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* Fix formatting.
Signed-off-by: davidwmartines <d5172@yahoo.com>
* Add tests for kafka binary conversion.
Signed-off-by: davidwmartines <d5172@yahoo.com>
* Catch marshalling errors, raise cloud_exceptions.
Signed-off-by: davidwmartines <d5172@yahoo.com>
* Add tests for to/from structured.
Signed-off-by: davidwmartines <d5172@yahoo.com>
* Fix spacing issues.
Signed-off-by: davidwmartines <d5172@yahoo.com>
* Rename ProtocolMessage to KafkaMessage.
Signed-off-by: davidwmartines <d5172@yahoo.com>
* Correct type annotations.
Signed-off-by: davidwmartines <d5172@yahoo.com>
* Use .create function.
Signed-off-by: davidwmartines <d5172@yahoo.com>
* Simplify failing serdes function.
Signed-off-by: davidwmartines <d5172@yahoo.com>
* Organize tests into classes.
Signed-off-by: davidwmartines <d5172@yahoo.com>
* Fix partitionkey attribute name and logic.
Signed-off-by: davidwmartines <d5172@yahoo.com>
* Add key_mapper option.
Signed-off-by: davidwmartines <d5172@yahoo.com>
* Refactor tests, raise KeyMapperError
Signed-off-by: davidwmartines <d5172@yahoo.com>
* Add copyright.x
Signed-off-by: davidwmartines <d5172@yahoo.com>
* Remove optional typing.
Signed-off-by: davidwmartines <d5172@yahoo.com>
Signed-off-by: davidwmartines <d5172@yahoo.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2022-11-17 10:29:13 +02:00
Yurii Serhiichuk
6648eb52aa
Feat/expose event attributes ( #195 )
...
* feat: Add an API to read all event attributes
Signed-off-by: Yurii Serhiichuk <savik.ne@gmail.com>
* deps: update black version
Signed-off-by: Yurii Serhiichuk <savik.ne@gmail.com>
* chore: update version to v1.6.2
Signed-off-by: Yurii Serhiichuk <savik.ne@gmail.com>
* docs: update changelog
Signed-off-by: Yurii Serhiichuk <savik.ne@gmail.com>
* docs: fix the release number link
Signed-off-by: Yurii Serhiichuk <savik.ne@gmail.com>
Signed-off-by: Yurii Serhiichuk <savik.ne@gmail.com>
2022-10-19 09:21:28 -07:00
pre-commit-ci[bot]
60f848a204
[pre-commit.ci] pre-commit autoupdate ( #192 )
...
updates:
- [github.com/psf/black: 22.6.0 → 22.8.0](https://github.com/psf/black/compare/22.6.0...22.8.0 )
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2022-09-05 20:26:21 +03:00
Alexander Tkachev
eba24db1b9
fix: to_json breaking change ( #191 )
...
* fix: missing to_json import #190
Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>
* test: backwards compatability import from http module #190
Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* docs: update changelog
Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* docs: update changelog
Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>
* feat: bump version
Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>
Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2022-08-25 08:58:51 +03:00
Yurii Serhiichuk
5e64e3fea1
release: v1.6.0 ( #189 )
...
* chore: bump version.
Signed-off-by: Yurii Serhiichuk <savik.ne@gmail.com>
* docs: Update changelog with the release
Signed-off-by: Yurii Serhiichuk <savik.ne@gmail.com>
* docs: Use new `conversion` module over deprecated APIs.
Signed-off-by: Yurii Serhiichuk <savik.ne@gmail.com>
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* docs: Also sort imports in README
Signed-off-by: Yurii Serhiichuk <savik.ne@gmail.com>
* docs: cleanup README and refereance latest Flask
Signed-off-by: Yurii Serhiichuk <savik.ne@gmail.com>
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
Signed-off-by: Yurii Serhiichuk <savik.ne@gmail.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2022-08-18 07:24:20 -07:00
Yurii Serhiichuk
8a88ffee10
chore: cleanup codebase and fix flake errors ( #188 )
...
* deps: `flake8-strict` and `flake8-import-order` are not compatible with Black and modern Python anymore
Signed-off-by: Yurii Serhiichuk <savik.ne@gmail.com>
* chore: Cleanup imports and remove obsolete `#noqa`.
Signed-off-by: Yurii Serhiichuk <savik.ne@gmail.com>
* chore: sort imports.
Signed-off-by: Yurii Serhiichuk <savik.ne@gmail.com>
* chore: Define `__all__`
Signed-off-by: Yurii Serhiichuk <savik.ne@gmail.com>
* chore: Fix licenses and add __all__ to imports.
Signed-off-by: Yurii Serhiichuk <savik.ne@gmail.com>
* chore: Fix formatting
Signed-off-by: Yurii Serhiichuk <savik.ne@gmail.com>
* chore: Export `from_http`
Signed-off-by: Yurii Serhiichuk <savik.ne@gmail.com>
* fix: Do not export functions of other modules from this one.
Signed-off-by: Yurii Serhiichuk <savik.ne@gmail.com>
* chore: Resolve more flake8 errors
Signed-off-by: Yurii Serhiichuk <savik.ne@gmail.com>
* chore: Fix more warnings
Signed-off-by: Yurii Serhiichuk <savik.ne@gmail.com>
* docs: add a note in the changelog about the fixes.
Signed-off-by: Yurii Serhiichuk <savik.ne@gmail.com>
* fix: imports in tests.
Signed-off-by: Yurii Serhiichuk <savik.ne@gmail.com>
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* fix: more import fixes.
Signed-off-by: Yurii Serhiichuk <savik.ne@gmail.com>
* fix: use proper implementations as replacements.
Signed-off-by: Yurii Serhiichuk <savik.ne@gmail.com>
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
Signed-off-by: Yurii Serhiichuk <savik.ne@gmail.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2022-08-14 15:47:38 -07:00
Alexander Tkachev
f5bb285d96
feat: pydantic ( #182 )
...
* feat: pydantic
Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>
Squashed commit of the following:
commit f7cdffc2c124d1f2a4517588364b818795bc729d
Author: Alexander Tkachev <sasha64sasha@gmail.com>
Date: Sun Aug 7 22:32:27 2022 +0300
docs: canonical representation
Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>
commit f0bffb4118d2936fa2f7ff759d218f706168fd61
Author: Alexander Tkachev <sasha64sasha@gmail.com>
Date: Fri Aug 12 22:04:33 2022 +0300
docs: remove duplicate deprecated module warnings
Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>
commit a9bc2cee634503d41ee257c039817fca0de164d8
Author: Alexander Tkachev <sasha64sasha@gmail.com>
Date: Fri Aug 12 22:02:54 2022 +0300
docs: fix grammar
Co-authored-by: Yurii Serhiichuk <xSAVIKx@users.noreply.github.com>
commit 8b4f3db9e2c23c3d1ba68c0b3b1f0ea55e2972f5
Author: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Date: Fri Aug 12 15:43:02 2022 +0000
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
commit 685e43d77d23e20f9f8272aefe29405d3249ef68
Author: Alexander Tkachev <sasha64sasha@gmail.com>
Date: Fri Aug 12 18:35:59 2022 +0300
test: exclude import testing
Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>
commit f69bcd2759df7fc3ea16421947316191832fcfcb
Author: Alexander Tkachev <sasha64sasha@gmail.com>
Date: Fri Aug 12 18:33:48 2022 +0300
docs: simplify specversion documentation
Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>
commit 6199278600d60ab3f36dd45f93e8cc3ca03f88b5
Author: Alexander Tkachev <sasha64sasha@gmail.com>
Date: Fri Aug 12 18:33:14 2022 +0300
docs: specversion
Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>
commit 44de28b6d2ce9ae4c0cfff47967a86d9e2da36af
Author: Alexander Tkachev <sasha64sasha@gmail.com>
Date: Fri Aug 12 18:30:45 2022 +0300
refactor: optimize imports
Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>
commit 4a6be338cc29e86cde7c2ce224d5b0127e142af9
Author: Alexander Tkachev <sasha64sasha@gmail.com>
Date: Fri Aug 12 18:29:28 2022 +0300
refactor: optimize imports
Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>
commit 8615073ee4617895c41e097bdc4ecb868f8d0eb5
Author: Alexander Tkachev <sasha64sasha@gmail.com>
Date: Fri Aug 12 18:24:03 2022 +0300
refactor: remove anyt
Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>
commit f03d23b39b2a8554321c9b71cc2a988a7c26d1f6
Author: Alexander Tkachev <sasha64sasha@gmail.com>
Date: Fri Aug 12 18:22:15 2022 +0300
feat: import is_binary and is_structured from converts module
Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>
commit b920645df88676a74341ba32ec4dd914855b5aa2
Author: Alexander Tkachev <sasha64sasha@gmail.com>
Date: Fri Aug 12 18:21:49 2022 +0300
style: formatting
Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>
commit 0dbd63e713cb26fc951c205ad740f166d76df84d
Author: Alexander Tkachev <sasha64sasha@gmail.com>
Date: Fri Aug 12 18:18:50 2022 +0300
docs: cleanup license
Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>
commit 9fdef9480af3e3af277af6df4ea7ccff6a98a02a
Author: Alexander Tkachev <sasha64sasha@gmail.com>
Date: Fri Aug 12 18:41:52 2022 +0300
build: fixate python version
Co-authored-by: Yurii Serhiichuk <xSAVIKx@users.noreply.github.com>
commit de47cc8412984cf22a75044ef63daa1c23cb4b18
Author: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Date: Fri Aug 12 15:23:31 2022 +0000
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
commit 7be086530bd19748867a221313a221284b1679bb
Author: Alexander Tkachev <sasha64sasha@gmail.com>
Date: Fri Aug 12 18:23:24 2022 +0300
docs: improve best effort serialization docs
Co-authored-by: Yurii Serhiichuk <xSAVIKx@users.noreply.github.com>
commit a55d60676e15ce83867be9f8c72f44d03d559773
Author: Alexander Tkachev <sasha64sasha@gmail.com>
Date: Fri Aug 12 18:22:49 2022 +0300
docs: fix grammar
Co-authored-by: Yurii Serhiichuk <xSAVIKx@users.noreply.github.com>
commit 4d68ec402dbe3e4bac08fcdf821e07b49b321541
Author: Alexander Tkachev <sasha64sasha@gmail.com>
Date: Fri Aug 12 18:22:36 2022 +0300
docs: remove uneeded spacing
Co-authored-by: Yurii Serhiichuk <xSAVIKx@users.noreply.github.com>
commit 9b3537e89f2bd3cabab21373266fc7c3f113afcf
Author: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Date: Fri Aug 12 15:17:32 2022 +0000
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
commit 49635fe180b9ebdf49d77536869ee2d3601c8324
Author: Alexander Tkachev <sasha64sasha@gmail.com>
Date: Fri Aug 12 18:15:37 2022 +0300
docs: incompatible arguments error
Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>
commit 909b72e612cbabe0bbf104a36df8d98b475bff30
Author: Alexander Tkachev <sasha64sasha@gmail.com>
Date: Fri Aug 12 18:14:24 2022 +0300
docs: pydantic not installed exception
Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>
commit 141f9090f490757dec6453aa22f207329a616877
Author: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Date: Fri Aug 12 13:57:31 2022 +0000
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
commit d487124a648bd9b6bdb50f81794f2fff63e01016
Author: Alexander Tkachev <sasha64sasha@gmail.com>
Date: Fri Aug 12 16:56:46 2022 +0300
build: pin pydantic version on python 3.6
Co-authored-by: Yurii Serhiichuk <xSAVIKx@users.noreply.github.com>
commit a46feba840f99c5a86575d7df074798126b66ef3
Merge: 21368b5 47818a9
Author: Yurii Serhiichuk <xSAVIKx@users.noreply.github.com>
Date: Thu Aug 11 12:28:57 2022 +0300
Merge branch 'main' into feature/pydantic
commit 21368b5e123664810a03f19f06d3255be79b9e2e
Author: Alexander Tkachev <sasha64sasha@gmail.com>
Date: Wed Aug 10 20:26:52 2022 +0300
feat: raise indicative error on non-installed pydantic feature
Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>
commit 65745f351856b82fc9e0781307cb2d597bea7f26
Author: Alexander Tkachev <sasha64sasha@gmail.com>
Date: Wed Aug 10 20:26:36 2022 +0300
feat: pydantic feature not installed exception
Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>
commit ab218e7568d9c9ed51e74edfc30f2f820d9eb4cf
Author: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Date: Mon Aug 8 22:10:56 2022 +0000
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
commit a026d319daa39fad7621affb1deeef6b6d7793e1
Author: Alexander Tkachev <sasha64sasha@gmail.com>
Date: Tue Aug 9 01:10:16 2022 +0300
fix: test int correctly
Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>
commit c49afe41c071be8f6052b6198b419bb57609e26c
Author: Alexander Tkachev <sasha64sasha@gmail.com>
Date: Tue Aug 9 01:08:57 2022 +0300
test: incompatible types
Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>
commit fb74ae39a255adf0f23fe4d0920d902aedf8dd11
Author: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Date: Mon Aug 8 21:38:12 2022 +0000
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
commit 9300c005a6647704601a48b92e591e371c2f3737
Author: Alexander Tkachev <sasha64sasha@gmail.com>
Date: Tue Aug 9 00:37:05 2022 +0300
test: backwards compatability with calling
Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>
commit 15ccc350b5d8154dd3bce1af9de2a2fa9a803996
Author: Alexander Tkachev <sasha64sasha@gmail.com>
Date: Tue Aug 9 00:25:53 2022 +0300
test: test is structured backwards compatability
Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>
commit bfe441866a4a9371516114214f19649d445756ef
Author: Alexander Tkachev <sasha64sasha@gmail.com>
Date: Tue Aug 9 00:24:42 2022 +0300
test: improve is binary test
Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>
commit aa9a69dd1690d3f02a9fb7932a23756874548702
Author: Alexander Tkachev <sasha64sasha@gmail.com>
Date: Tue Aug 9 00:13:51 2022 +0300
stlye: formatting
Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>
commit fb81f310124a7711a3145df0a69282441f7c1e7c
Author: Alexander Tkachev <sasha64sasha@gmail.com>
Date: Tue Aug 9 00:13:00 2022 +0300
fix: remove code duplication
Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>
commit 650dd1634cd3df74d56cd35faac0528067245832
Author: Alexander Tkachev <sasha64sasha@gmail.com>
Date: Tue Aug 9 00:11:56 2022 +0300
docs: explain why dependency what it is
Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>
commit b2780791314e46a918848de2aae9e778927a5441
Author: Alexander Tkachev <sasha64sasha@gmail.com>
Date: Tue Aug 9 00:10:15 2022 +0300
build: explicitly specify pydantic version
Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>
commit 29e13ca9a67f39eefaad6ed1ca82317927ad8123
Author: Alexander Tkachev <sasha64sasha@gmail.com>
Date: Tue Aug 9 00:05:54 2022 +0300
docs: update example
Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>
commit 42a4f016e5377041ba60bf631f4c413793fcf188
Author: Alexander Tkachev <sasha64sasha@gmail.com>
Date: Tue Aug 9 00:04:59 2022 +0300
docs: init function
Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>
commit e01c2b707473cf7fe1c56124d97cbd95da3ef10e
Author: Alexander Tkachev <sasha64sasha@gmail.com>
Date: Mon Aug 8 23:58:10 2022 +0300
docs: explain why we ignore the data
Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>
commit 5ddadf4e5bd158a93bdd1a2037a66e629c530126
Author: Alexander Tkachev <sasha64sasha@gmail.com>
Date: Mon Aug 8 23:53:32 2022 +0300
refactor: use custom exception type
Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>
commit 8889abbcd233d4a244ccae4a3b56c42a1e31b24a
Author: Alexander Tkachev <sasha64sasha@gmail.com>
Date: Mon Aug 8 23:51:38 2022 +0300
feat: incompatible arguments error
Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>
commit a4dda34d41338cd80b3b821c9c3f5c5f5bcd5d2f
Author: Alexander Tkachev <sasha64sasha@gmail.com>
Date: Mon Aug 8 23:46:41 2022 +0300
refactor: use value error instead of assertion
Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>
commit 61f68a5f5c3ff81b46c05204af67a6fcf5a1f873
Author: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Date: Mon Aug 8 20:43:10 2022 +0000
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
commit 1630fc36dbf161d8a0767a332f88606cd66bc394
Author: Alexander Tkachev <sasha64sasha@gmail.com>
Date: Mon Aug 8 23:41:37 2022 +0300
feat: add examples to field values
Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>
commit e019c42194b8f07f45e84d49f8e463ff3c6a6faa
Author: Alexander Tkachev <sasha64sasha@gmail.com>
Date: Mon Aug 8 23:38:37 2022 +0300
fix: example data
Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>
commit 9b48f6e7270eb253cce7b8d24561f608a717c911
Author: Alexander Tkachev <sasha64sasha@gmail.com>
Date: Mon Aug 8 23:04:48 2022 +0300
docs: improve pydantic cloudevent base class
Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>
commit 6605fa822540e0291da221fba128dc7db9c54e8b
Author: Alexander Tkachev <sasha64sasha@gmail.com>
Date: Mon Aug 8 23:04:22 2022 +0300
style: formatting
Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>
commit 39a3ba22c0bde0c5dba919ead1f3ba82f09df033
Author: Alexander Tkachev <sasha64sasha@gmail.com>
Date: Mon Aug 8 23:02:47 2022 +0300
docs: dumps and loads funcions
Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>
commit 6d59e2902ed46cc1cdca8886e2f615d85a1b629b
Author: Alexander Tkachev <sasha64sasha@gmail.com>
Date: Mon Aug 8 22:46:17 2022 +0300
fix: pydantic dumps bugs
Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>
commit 614496f5875b35e0e103a9b4f3df7e6a4a53c7cb
Author: Alexander Tkachev <sasha64sasha@gmail.com>
Date: Mon Aug 8 22:39:15 2022 +0300
Revert "refactor: make best effort serialize to json public"
This reverts commit cdf7e2ebb5c92c9a7d362a5d6b2fb16aab0461a3.
Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>
commit cdf7e2ebb5c92c9a7d362a5d6b2fb16aab0461a3
Author: Alexander Tkachev <sasha64sasha@gmail.com>
Date: Mon Aug 8 22:35:31 2022 +0300
refactor: make best effort serialize to json public
Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>
commit 75aa8436c3e6bd1865b326c5168c4e2e8ba4be27
Author: Alexander Tkachev <sasha64sasha@gmail.com>
Date: Mon Aug 8 22:33:49 2022 +0300
feat: add args and kwargs to best effort serialize to json
Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>
commit e74ae8149280cbe7d56f11d1458af8bec5a9e37e
Author: Alexander Tkachev <sasha64sasha@gmail.com>
Date: Mon Aug 8 22:32:14 2022 +0300
test: pydantic json event regression bug
Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>
commit 9f2e0c6e962b55f8a0683ee936b8a443ddb533c3
Author: Alexander Tkachev <sasha64sasha@gmail.com>
Date: Mon Aug 8 22:23:46 2022 +0300
perf: use http event for ce_json_* functions
Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>
commit 8af3ed1c48b278b14cdd127ba06c1f653bd3c4ba
Author: Alexander Tkachev <sasha64sasha@gmail.com>
Date: Mon Aug 8 22:20:01 2022 +0300
refactor: _best_effort_serialize_to_json type information
also includes docs
Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>
commit 20a4e0a1fabbd6d59d371d7340d93d1c01f732b0
Author: Alexander Tkachev <sasha64sasha@gmail.com>
Date: Mon Aug 8 22:13:35 2022 +0300
refactor: rename marshaller functions
Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>
commit 9d7da629b64d84b0e99fffe306680ec023b1c39b
Author: Alexander Tkachev <sasha64sasha@gmail.com>
Date: Mon Aug 8 22:06:20 2022 +0300
fix: bad type information
Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>
commit b3f5bbc573baea1127c1390b1291956f43fba183
Author: Alexander Tkachev <sasha64sasha@gmail.com>
Date: Mon Aug 8 22:05:03 2022 +0300
docs: add module deprecation comments
Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>
commit 6882ada4f2dec848c521eda3e41f72290b80748d
Author: Alexander Tkachev <sasha64sasha@gmail.com>
Date: Mon Aug 8 22:04:03 2022 +0300
docs: add module deprecation comments
Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>
commit 53e6dec5c1ab8161049ad185b5fedc82090c670f
Author: Alexander Tkachev <sasha64sasha@gmail.com>
Date: Mon Aug 8 22:03:32 2022 +0300
docs: add module deprecation comments
Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>
commit 169d024cfb2372003b93e7ac33c409aef5f06759
Author: Alexander Tkachev <sasha64sasha@gmail.com>
Date: Mon Aug 8 22:02:44 2022 +0300
docs: add module deprecation comments
Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>
commit 3d4b0c94d7182ac444cabf85b3ccda23c7afa813
Author: Alexander Tkachev <sasha64sasha@gmail.com>
Date: Mon Aug 8 22:01:42 2022 +0300
refactor: use deprecation function
Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>
commit 5c39cc0add47806e5bffb6550f2a762c484672ba
Author: Alexander Tkachev <sasha64sasha@gmail.com>
Date: Mon Aug 8 21:59:54 2022 +0300
refactor: use deprecation functions
Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>
commit 064e2e8cef0c0cb41c837bfb018c037a2f83185b
Author: Alexander Tkachev <sasha64sasha@gmail.com>
Date: Mon Aug 8 21:57:17 2022 +0300
refactor: use deprecation functions
Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>
commit 6ea1e54f8ea13b3a520e83991c9b129ef47b272e
Author: Alexander Tkachev <sasha64sasha@gmail.com>
Date: Mon Aug 8 21:54:44 2022 +0300
refactor: deprecation functions
Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>
commit 71a06b6179b8d7142f4bd5c7690c2119d4448cb5
Author: Alexander Tkachev <sasha64sasha@gmail.com>
Date: Mon Aug 8 21:46:18 2022 +0300
docs: default time selection algorithm
Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>
commit 3fcd085ff4ab6ec289f7c5f80ff369e03784c20e
Author: Alexander Tkachev <sasha64sasha@gmail.com>
Date: Mon Aug 8 21:46:04 2022 +0300
docs: default id selection algorithm
Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>
commit 3fdef87ef11d36945b527ad083409b895d249993
Author: Alexander Tkachev <sasha64sasha@gmail.com>
Date: Mon Aug 8 21:41:24 2022 +0300
docs: license
Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>
commit 363679837cc7153b5cfdcb9b4aefa16d21e2c9fa
Author: Alexander Tkachev <sasha64sasha@gmail.com>
Date: Mon Aug 8 21:32:39 2022 +0300
docs: improve documentation
Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>
commit 53d1931387bb0b565cb1e76f5ddd5b25b0fdf002
Author: Alexander Tkachev <sasha64sasha@gmail.com>
Date: Sun Aug 7 23:21:45 2022 +0300
docs: conversion documentation
Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>
commit 050ed7536b8797ae9f752715006bdc9d59d9b767
Author: Alexander Tkachev <sasha64sasha@gmail.com>
Date: Sun Aug 7 23:19:37 2022 +0300
docs: fix line length
Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>
commit bd70199a02551490f4533e773d7434af22daa711
Author: Alexander Tkachev <sasha64sasha@gmail.com>
Date: Sun Aug 7 23:15:05 2022 +0300
refactor: add best_effort suffix for clerefication
Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>
commit 14ed5616b25a0fcf4498a5b6347865327cf66762
Author: Alexander Tkachev <sasha64sasha@gmail.com>
Date: Sun Aug 7 23:14:18 2022 +0300
docs: encode_attribute value
Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>
commit 6baf7d0726aed09b1394b8e4b36bbecafafa82d9
Author: Alexander Tkachev <sasha64sasha@gmail.com>
Date: Sun Aug 7 23:09:10 2022 +0300
refactor: move attributes to variable
Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>
commit 3a77b1e446973d43e46db58e421323a11dde26f6
Author: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Date: Sun Aug 7 20:10:03 2022 +0000
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
commit 8ab108ac7221fdf1561965d37f21264558cb53da
Author: Alexander Tkachev <sasha64sasha@gmail.com>
Date: Sun Aug 7 23:09:54 2022 +0300
docs: _json_or_string
Co-authored-by: Yurii Serhiichuk <xSAVIKx@users.noreply.github.com>
commit 4778c109543b7419fd443e436e32eb2d8ced4f1a
Author: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Date: Sun Aug 7 20:06:11 2022 +0000
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
commit 4809c75578e6b1058a69368fc8066a9056161b7a
Author: Alexander Tkachev <sasha64sasha@gmail.com>
Date: Sun Aug 7 23:06:03 2022 +0300
docs: from_dict better description
Co-authored-by: Yurii Serhiichuk <xSAVIKx@users.noreply.github.com>
commit a538834fc5b49c34246c27637dd68afe1895a06b
Author: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Date: Sun Aug 7 20:04:20 2022 +0000
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
commit f1d09a2dd2f1922b1226d31d6fefb6b9bdbc1d68
Author: Alexander Tkachev <sasha64sasha@gmail.com>
Date: Sun Aug 7 23:04:11 2022 +0300
docs: is_structured better description
Co-authored-by: Yurii Serhiichuk <xSAVIKx@users.noreply.github.com>
commit 4cf7559aec29d77d4aa4bb29dd7b705a4e01ad56
Author: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Date: Sun Aug 7 20:01:56 2022 +0000
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
commit 1efab9149991adf2afa42bcd8a38d62c932827e0
Author: Alexander Tkachev <sasha64sasha@gmail.com>
Date: Sun Aug 7 23:01:48 2022 +0300
docs: is_binary
Co-authored-by: Yurii Serhiichuk <xSAVIKx@users.noreply.github.com>
commit 8e44b2462226e24fe28837758a808b68c73a91ec
Author: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Date: Sun Aug 7 19:32:36 2022 +0000
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
commit f9956d4d2d9935ee4e1a5f0f96bbd87a25044120
Author: Alexander Tkachev <sasha64sasha@gmail.com>
Date: Sun Aug 7 22:32:27 2022 +0300
docs: canonical representation
Co-authored-by: Yurii Serhiichuk <xSAVIKx@users.noreply.github.com>
commit 42578aff4d07c2e4fc5030c57077b96c72eee3a7
Author: Alexander Tkachev <sasha64sasha@gmail.com>
Date: Sat Aug 6 15:11:45 2022 +0300
fix: circular dependency
Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>
commit 6b90af97f077d1cfae9912754092b0b6354a3a5b
Author: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Date: Sat Aug 6 12:01:59 2022 +0000
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
commit 789fb64fcff83593ba3c73104f2a08620b26962e
Merge: 4e60121 785bfe7
Author: Alexander Tkachev <sasha64sasha@gmail.com>
Date: Sat Aug 6 15:02:07 2022 +0300
Merge branch 'main' into feature/pydantic
Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>
# Conflicts:
# cloudevents/abstract/event.py
# cloudevents/conversion.py
# cloudevents/http/event.py
# cloudevents/http/http_methods.py
# cloudevents/http/json_methods.py
commit 4e60121514f31fdc538ae45a9ca00c2651334e4d
Author: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Date: Fri Aug 5 14:18:33 2022 +0000
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
commit 58c18f2237efc8765a12d7183a5889739cb7f9e7
Author: Alexander Tkachev <sasha64sasha@gmail.com>
Date: Fri Aug 5 17:14:39 2022 +0300
refactor: convert get_data and get_attributes to private member
Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>
commit c1e9105dea7ce9ea1a715d8583c32bfdc55afe2f
Merge: d73311e 96c41a1
Author: Alexander Tkachev <sasha64sasha@gmail.com>
Date: Fri Aug 5 17:12:59 2022 +0300
Merge branch 'feature/abstract-cloudevent' into feature/pydantic
Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>
commit 96c41a15ca
Author: Alexander Tkachev <sasha64sasha@gmail.com>
Date: Fri Aug 5 17:11:12 2022 +0300
build: ignore not-implemented functions in coverage
Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>
commit 4e00b55062
Author: Alexander Tkachev <sasha64sasha@gmail.com>
Date: Fri Aug 5 17:09:17 2022 +0300
refactor: convert get_data and get_attributes to private member functions
instead of classmethods
Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>
commit d73311e44203d9d2aabbb378a131da2f7941deb7
Author: Alexander Tkachev <sasha64sasha@gmail.com>
Date: Mon Jul 25 02:30:55 2022 +0300
test: remove unused variable
Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>
commit 82aa0d41f727c61f0ec4b8cb72f08c34166653d8
Author: Alexander Tkachev <sasha64sasha@gmail.com>
Date: Mon Jul 25 02:30:24 2022 +0300
style: formatting
Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>
commit f376bb51e6c70b0f2827775adaf5865d0b2ed789
Author: Alexander Tkachev <sasha64sasha@gmail.com>
Date: Mon Jul 25 02:29:42 2022 +0300
style: formatting
Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>
commit 5c6a511e2e234097b1b9ae782e7010c587d1f8a9
Author: Alexander Tkachev <sasha64sasha@gmail.com>
Date: Mon Jul 25 02:26:56 2022 +0300
style: formatting
Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>
commit dbb8263e28ae2725773e7e6225a68f4aa8c30dcc
Author: Alexander Tkachev <sasha64sasha@gmail.com>
Date: Mon Jul 25 02:25:33 2022 +0300
test: add backwards compatibility tests
Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>
commit 7eb8c9991cad818d282380e44a9107dc732298ca
Author: Alexander Tkachev <sasha64sasha@gmail.com>
Date: Mon Jul 25 02:22:25 2022 +0300
refactor: use direct imports
Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>
commit 175084a01a851e5237413bdbed482087ee752515
Author: Alexander Tkachev <sasha64sasha@gmail.com>
Date: Mon Jul 25 02:21:51 2022 +0300
test: http event dict serialization
Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>
commit dec8244fb9d22a1b18dccde0b229c3fec6760775
Author: Alexander Tkachev <sasha64sasha@gmail.com>
Date: Mon Jul 25 02:19:49 2022 +0300
refactor: use direct imports
Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>
commit fdf4e8124eb1b35784c74f79e8e0ace6a613be9e
Author: Alexander Tkachev <sasha64sasha@gmail.com>
Date: Mon Jul 25 02:16:47 2022 +0300
test: fix to_dict bug
Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>
commit adfbd40a92ccb7dd2f83472c79ef8216f548bb47
Author: Alexander Tkachev <sasha64sasha@gmail.com>
Date: Mon Jul 25 02:16:10 2022 +0300
refactor: gut util module
Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>
commit 9024c83a7897e655ad363bb8ce6a9679707c9faf
Author: Alexander Tkachev <sasha64sasha@gmail.com>
Date: Mon Jul 25 02:13:07 2022 +0300
refactor: remove problematic mappings module
Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>
commit ee34c0e744d0d263efbd69750c72386db477d194
Author: Alexander Tkachev <sasha64sasha@gmail.com>
Date: Mon Jul 25 02:05:18 2022 +0300
style: formatting
Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>
commit 73d35da6229d6ab3243685c2775e34abbadf3098
Author: Alexander Tkachev <sasha64sasha@gmail.com>
Date: Mon Jul 25 02:03:06 2022 +0300
fix: order confusion
Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>
commit 8ef16850d291f72c8f4e4aa90364a0feef491304
Author: Alexander Tkachev <sasha64sasha@gmail.com>
Date: Mon Jul 25 02:01:45 2022 +0300
fix: remove uneeded symbol
Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>
commit 7238465ecd282ba63d3fa9a2b70f5a0118599771
Author: Alexander Tkachev <sasha64sasha@gmail.com>
Date: Mon Jul 25 02:00:34 2022 +0300
fix: circular imports
Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>
commit 618d2182aa9fba80a8dc9e88aff9612360014b76
Author: Alexander Tkachev <sasha64sasha@gmail.com>
Date: Mon Jul 25 01:59:38 2022 +0300
fix: from_dict order confusion
Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>
commit f4c7f729db256d403b7943e2a7a2b62a69ffdc70
Author: Alexander Tkachev <sasha64sasha@gmail.com>
Date: Mon Jul 25 01:58:42 2022 +0300
refactor: move is structured to sdk
Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>
commit e11913bfcdf2900c3045c109ee576b1a090bf5c9
Author: Alexander Tkachev <sasha64sasha@gmail.com>
Date: Mon Jul 25 01:57:25 2022 +0300
refactor: move is_binary to sdk
Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>
commit 067e046204c16878e31a4f213ae4402866fc2415
Merge: 48d7d68 0c2bafc
Author: Alexander Tkachev <sasha64sasha@gmail.com>
Date: Mon Jul 25 01:55:32 2022 +0300
Merge branch 'feature/abstract-cloudevent' into feature/pydantic
Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>
# Conflicts:
# cloudevents/http/http_methods.py
# cloudevents/http/json_methods.py
commit 0c2bafc423
Author: Alexander Tkachev <sasha64sasha@gmail.com>
Date: Mon Jul 25 01:53:52 2022 +0300
refactor: remove optional type
Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>
commit 48d7d68686f630ee0f1f31283a33900b4174878e
Author: Alexander Tkachev <sasha64sasha@gmail.com>
Date: Mon Jul 25 01:50:22 2022 +0300
refactor: move all methods to conversion
Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>
commit 81905e73050f0ba89ff5ba4aa6a47257aad7aadb
Author: Alexander Tkachev <sasha64sasha@gmail.com>
Date: Mon Jul 25 01:43:46 2022 +0300
refactor: move json methods to conversion
Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>
commit 474bf4368d0e540fee0bdfa632d01c81a16223d1
Author: Alexander Tkachev <sasha64sasha@gmail.com>
Date: Mon Jul 25 01:42:25 2022 +0300
refactor: merge conversion logic under conversion
Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>
commit a8156274a8fc5ebe9af45a0b25bf9f78b10273e6
Author: Alexander Tkachev <sasha64sasha@gmail.com>
Date: Mon Jul 25 01:37:28 2022 +0300
feat: init default cloudevent
Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>
commit 523e1cb331f1131390581389ded2e6de762087e6
Author: Alexander Tkachev <sasha64sasha@gmail.com>
Date: Mon Jul 25 01:37:12 2022 +0300
docs: dict conversion functions
Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>
commit 88c168932b97e3a73d02238e81a2e87328f69469
Author: Alexander Tkachev <sasha64sasha@gmail.com>
Date: Mon Jul 25 01:35:20 2022 +0300
refactor: move dict methods to conversion
Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>
commit b6e008a338b1e4fd5a1d805792a12131a88ce99a
Author: Alexander Tkachev <sasha64sasha@gmail.com>
Date: Mon Jul 25 01:30:38 2022 +0300
fix: broken merge
Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>
commit 2e9e255322064001e04c91fba6d96d89c2da1859
Merge: 316a9fc fbc0632
Author: Alexander Tkachev <sasha64sasha@gmail.com>
Date: Mon Jul 25 01:27:27 2022 +0300
Merge branch 'feature/abstract-cloudevent' into feature/pydantic
Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>
# Conflicts:
# cloudevents/abstract/json_methods.py
# cloudevents/conversion.py
# cloudevents/http/event.py
# cloudevents/http/http_methods.py
# cloudevents/http/json_methods.py
# cloudevents/http/util.py
commit fbc063244b
Author: Alexander Tkachev <sasha64sasha@gmail.com>
Date: Mon Jul 25 01:26:10 2022 +0300
refactor: use classmethods
Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>
commit a8872b9808
Author: Alexander Tkachev <sasha64sasha@gmail.com>
Date: Mon Jul 25 01:06:06 2022 +0300
test: remove broken tests
Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>
commit 065ef91277
Author: Alexander Tkachev <sasha64sasha@gmail.com>
Date: Mon Jul 25 01:02:17 2022 +0300
refactor: expose data and attributes in class
Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>
commit c0b54130c6
Author: Alexander Tkachev <sasha64sasha@gmail.com>
Date: Mon Jul 25 00:56:01 2022 +0300
refactor: remove mutation variables from contract
Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>
commit 1109bc5b76
Author: Alexander Tkachev <sasha64sasha@gmail.com>
Date: Mon Jul 25 00:55:34 2022 +0300
docs: remove inconsistent types
Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>
commit 6a9201647c
Author: Alexander Tkachev <sasha64sasha@gmail.com>
Date: Mon Jul 25 00:54:22 2022 +0300
refactor: add default value for conversions
Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>
commit 5d0882d8b9
Author: Alexander Tkachev <sasha64sasha@gmail.com>
Date: Mon Jul 25 00:50:04 2022 +0300
test: rename badly named test
Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>
commit 41c5f5984b
Author: Alexander Tkachev <sasha64sasha@gmail.com>
Date: Mon Jul 25 00:48:37 2022 +0300
refactor: move all abstract conversion logic under conversion
Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>
commit f47087d490
Author: Alexander Tkachev <sasha64sasha@gmail.com>
Date: Mon Jul 25 00:32:16 2022 +0300
Revert "refactor: rename abstract to generic"
This reverts commit 89d30eb23d
.
Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>
commit ea19f7dbd6
Author: Alexander Tkachev <sasha64sasha@gmail.com>
Date: Sun Jul 24 23:10:53 2022 +0300
test: fix broken test
Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>
commit ba16cdd3ac
Author: Alexander Tkachev <sasha64sasha@gmail.com>
Date: Sun Jul 24 23:10:43 2022 +0300
refactor: cloudevent is no longer absctract
Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>
commit d303eaecab
Merge: 89d30eb
61c8657
Author: Alexander Tkachev <sasha64sasha@gmail.com>
Date: Sun Jul 24 23:06:37 2022 +0300
Merge branch 'main' into feature/abstract-cloudevent
Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>
# Conflicts:
# CHANGELOG.md
# cloudevents/http/event.py
# cloudevents/tests/test_http_cloudevent.py
commit 89d30eb23d
Author: Alexander Tkachev <sasha64sasha@gmail.com>
Date: Sun Jul 24 23:04:58 2022 +0300
refactor: rename abstract to generic
Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>
commit a22efbde37
Author: Alexander Tkachev <sasha64sasha@gmail.com>
Date: Sun Jul 24 23:00:36 2022 +0300
test: add abstract cloudevent coverage tests
Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>
commit 2b3c0f1292
Author: Alexander Tkachev <sasha64sasha@gmail.com>
Date: Sun Jul 24 22:04:25 2022 +0300
docs: add missing comment to from_http
Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>
commit 62595ffc3b
Author: Alexander Tkachev <sasha64sasha@gmail.com>
Date: Sun Jul 24 22:02:48 2022 +0300
docs: explain why impl has no public attributes property
Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>
commit b9e8763594
Author: Alexander Tkachev <sasha64sasha@gmail.com>
Date: Sun Jul 24 21:59:53 2022 +0300
docs: not implemented errors
Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>
commit ecf9418a1b
Author: Alexander Tkachev <sasha64sasha@gmail.com>
Date: Sun Jul 24 21:56:02 2022 +0300
docs: explain read model
Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>
commit 1187600b1b
Author: Alexander Tkachev <sasha64sasha@gmail.com>
Date: Sun Jul 24 21:51:32 2022 +0300
docs: better cloudevent explenation
Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>
commit fb4f993536
Author: Alexander Tkachev <sasha64sasha@gmail.com>
Date: Sun Jul 24 21:50:22 2022 +0300
docs: getitem documentation
Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>
commit 3845aa7295
Author: Alexander Tkachev <sasha64sasha@gmail.com>
Date: Sun Jul 24 21:48:38 2022 +0300
refactor: use anycloudevent for generics
Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>
commit 316a9fca85a16f5771cf1cac7723d8711f3ada87
Merge: 8072e61 a96bd6c
Author: Alexander Tkachev <sasha64sasha@gmail.com>
Date: Sat Jul 23 01:22:39 2022 +0300
Merge branch 'feature/abstract-cloudevent' into feature/pydantic
Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>
commit a96bd6cdde
Author: Alexander Tkachev <sasha64sasha@gmail.com>
Date: Sat Jul 23 01:22:31 2022 +0300
feat: define abstract methods
Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>
commit 8072e6110cbca2206e72a267f007e1e28f564c3c
Author: Alexander Tkachev <sasha64sasha@gmail.com>
Date: Sat Jul 23 01:18:30 2022 +0300
docs: wording
Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>
commit e6b5c9c66d7774f9b993164e96b98dba1eed07b6
Author: Alexander Tkachev <sasha64sasha@gmail.com>
Date: Sat Jul 23 01:17:51 2022 +0300
refactor: explicit optional
Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>
commit e51926c4d2e05c620f964b4cb5047bd5dec19dd7
Author: Alexander Tkachev <sasha64sasha@gmail.com>
Date: Sat Jul 23 01:16:27 2022 +0300
refactor: use anystr
Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>
commit 115c7f5223c4d4346c23786df7b0303a3b30ab4e
Author: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Date: Fri Jul 22 22:14:15 2022 +0000
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
commit 60c00065679ddbd285898ada54a63459c514caa2
Author: Alexander Tkachev <sasha64sasha@gmail.com>
Date: Sat Jul 23 01:14:02 2022 +0300
test: remove pytest fixture parameterization
Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>
commit 88f7ae58e7828c5b71b92e3cc3005a8a9ee2632e
Author: Alexander Tkachev <sasha64sasha@gmail.com>
Date: Sat Jul 23 01:08:46 2022 +0300
feat: remove strict event
Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>
commit 982436c65b72ec46112645ede6fc9cdbe56ea6e4
Author: Alexander Tkachev <sasha64sasha@gmail.com>
Date: Sat Jul 23 01:08:07 2022 +0300
Revert "fix: strict event did not inherit descriptions"
This reverts commit 63975cd67e5bdbc6889327914c1b78d3cd430aa7.
Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>
# Conflicts:
# cloudevents/pydantic/event.py
# cloudevents/pydantic/strict_event.py
commit f569c541cf3f4d1850f5841504a90c087283766a
Author: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Date: Fri Jul 22 21:59:25 2022 +0000
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
commit 43ecfeea816b2a98b6d2087e6c7d327817baed11
Author: Alexander Tkachev <sasha64sasha@gmail.com>
Date: Sat Jul 23 00:58:05 2022 +0300
refactor: remove uneeded code
Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>
commit 154f7674533fa32f1789ed157353cc5d4ee1bceb
Author: Alexander Tkachev <sasha64sasha@gmail.com>
Date: Sat Jul 23 00:43:43 2022 +0300
refactor: integrate abstract event
Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>
commit 896299b66df63791258a4dc5594c30843ec76dae
Merge: d034677 09062e3
Author: Alexander Tkachev <sasha64sasha@gmail.com>
Date: Sat Jul 23 00:40:46 2022 +0300
Merge branch 'feature/abstract-cloudevent' into feature/pydantic
Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>
commit 09062e35ff
Author: Alexander Tkachev <sasha64sasha@gmail.com>
Date: Sat Jul 23 00:40:40 2022 +0300
fix: intengrate data read model
Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>
commit d034677da266080c49a91cb857d9b660cb508111
Merge: fb5165e 5648968
Author: Alexander Tkachev <sasha64sasha@gmail.com>
Date: Sat Jul 23 00:39:03 2022 +0300
Merge branch 'feature/abstract-cloudevent' into feature/pydantic
Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>
commit 56489682c5
Author: Alexander Tkachev <sasha64sasha@gmail.com>
Date: Sat Jul 23 00:38:56 2022 +0300
feat: simplify data attributes
Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>
commit fb5165eb6c980fa4091dae66871e719e0b2a5aec
Merge: af83fb0 01041e7
Author: Alexander Tkachev <sasha64sasha@gmail.com>
Date: Sat Jul 23 00:28:21 2022 +0300
Merge branch 'feature/abstract-cloudevent' into feature/pydantic
Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>
# Conflicts:
# CHANGELOG.md
# cloudevents/http/event.py
# cloudevents/tests/test_http_cloudevent.py
commit 01041e7cd5
Author: Alexander Tkachev <sasha64sasha@gmail.com>
Date: Sat Jul 23 00:23:39 2022 +0300
docs: abstract cloudevent
Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>
commit 6588577ffc
Author: Alexander Tkachev <sasha64sasha@gmail.com>
Date: Sat Jul 23 00:17:07 2022 +0300
refactor: create abstract cloudevent package
Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>
commit c747f59a29
Author: Alexander Tkachev <sasha64sasha@gmail.com>
Date: Fri Jul 22 23:31:06 2022 +0300
refactor: integrate abstract event
Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>
commit f1ff00908e
Author: Alexander Tkachev <sasha64sasha@gmail.com>
Date: Fri Jul 22 23:58:52 2022 +0300
refactor: move to abstract
Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>
commit 4488201812
Author: Alexander Tkachev <sasha64sasha@gmail.com>
Date: Fri Jul 22 23:40:05 2022 +0300
feat: any cloud event
Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>
commit 2b6483046a
Author: Alexander Tkachev <sasha64sasha@gmail.com>
Date: Fri Jul 22 23:38:49 2022 +0300
feat: create function
Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>
commit 5f8399fa09
Author: Alexander Tkachev <sasha64sasha@gmail.com>
Date: Fri Jul 22 23:31:55 2022 +0300
feat: add missing return type
Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>
commit 41a9af2874
Author: Alexander Tkachev <sasha64sasha@gmail.com>
Date: Fri Jul 22 23:30:57 2022 +0300
feat: abstract event
Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>
commit af83fb084cdd882a607982ad6352446804f45252
Author: Alexander Tkachev <sasha64sasha@gmail.com>
Date: Fri Jul 22 23:08:55 2022 +0300
fix: use python 3 type hints
Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>
commit 771d2ab147e1755feb5cc0c2ee36edabb076e5e1
Author: Alexander Tkachev <sasha64sasha@gmail.com>
Date: Fri Jul 22 23:07:44 2022 +0300
test: explicit value names
Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>
commit 899e81b670719a45bfc3fa2ff673da4ce90a46a5
Author: Alexander Tkachev <sasha64sasha@gmail.com>
Date: Fri Jul 22 23:04:53 2022 +0300
fix: make specversion comperable to strings
Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>
commit 476d8226cf1b1ca6c6bd9e12cb9b380084f259ae
Author: Alexander Tkachev <sasha64sasha@gmail.com>
Date: Fri Jul 22 23:02:29 2022 +0300
docs: make return value more precise
Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>
commit 9896252a7b999d199c58d788fbc6e4bedb3aac53
Author: Alexander Tkachev <sasha64sasha@gmail.com>
Date: Fri Jul 22 23:00:00 2022 +0300
refactor: merge attributes to signle module
Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>
commit 4be431f47fb3a06febe1bf73807a4ff754d722f7
Author: Alexander Tkachev <sasha64sasha@gmail.com>
Date: Fri Jul 22 22:53:30 2022 +0300
build: explicit pydantic version
Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>
commit e44e99687d03b717de0a9fe3abe43d4bdbf02c6f
Author: Alexander Tkachev <sasha64sasha@gmail.com>
Date: Fri Jul 22 22:46:51 2022 +0300
feat: remove content type from strict event
Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>
commit eeb608cbfdbb23740cc90c701d9d4d3c20b8d5e4
Author: Alexander Tkachev <sasha64sasha@gmail.com>
Date: Fri Jul 22 22:46:22 2022 +0300
build: move pydantic tox deps to test.txt
Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>
commit 63975cd67e5bdbc6889327914c1b78d3cd430aa7
Author: Alexander Tkachev <sasha64sasha@gmail.com>
Date: Tue Jul 19 02:40:09 2022 +0300
fix: strict event did not inherit descriptions
Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>
commit 53ab87b817ce995894ce5b41cb6b775491e87105
Author: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Date: Mon Jul 18 23:20:43 2022 +0000
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
commit 50a7fb506eecaba04434519eac49cfd5927d0929
Author: Alexander Tkachev <sasha64sasha@gmail.com>
Date: Tue Jul 19 02:20:31 2022 +0300
stlye: formatting
Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>
commit a7af0363228bab5309258ec720fda6bf21fe0ddf
Author: Alexander Tkachev <sasha64sasha@gmail.com>
Date: Tue Jul 19 02:19:39 2022 +0300
test: strict cloudevent
Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>
commit bdfb997e7fa5a5e00ba442fc2d3251c8c05aebf5
Author: Alexander Tkachev <sasha64sasha@gmail.com>
Date: Tue Jul 19 02:14:47 2022 +0300
test: pydantic json methods
Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>
commit 1f580ecefbaf529a00da7a60820fab7e63de5da1
Author: Alexander Tkachev <sasha64sasha@gmail.com>
Date: Tue Jul 19 02:14:29 2022 +0300
fix: use correct import
Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>
commit 030e7c0daa74592dfe32689c85c2f9fa8171f6b9
Author: Alexander Tkachev <sasha64sasha@gmail.com>
Date: Tue Jul 19 02:11:09 2022 +0300
test: pydantic events integration
Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>
commit 92cb622bfe2f6230c9184fed05843cfda544bcc2
Author: Alexander Tkachev <sasha64sasha@gmail.com>
Date: Tue Jul 19 02:06:48 2022 +0300
fix: encode attribute access
Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>
commit 9d334563c2febdeda2776a7f02e8ed8278b1e96d
Author: Alexander Tkachev <sasha64sasha@gmail.com>
Date: Tue Jul 19 02:05:45 2022 +0300
feat: make encode attribute value public
Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>
commit 100c78905ecf96c9afc01702f524426f77d882ff
Author: Alexander Tkachev <sasha64sasha@gmail.com>
Date: Tue Jul 19 01:57:38 2022 +0300
feat: strict event
Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>
commit 703fe1a78f5bb024d2b0d9e6cdc099e42c493d00
Author: Alexander Tkachev <sasha64sasha@gmail.com>
Date: Tue Jul 19 01:57:34 2022 +0300
feat: lax event requirments
Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>
commit f2c9bc4af56b243e62949a99bbe890f069833fcc
Author: Alexander Tkachev <sasha64sasha@gmail.com>
Date: Tue Jul 19 01:50:48 2022 +0300
feat: add more proxy imports
Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>
commit e8163a9bc1e1a3cff3b03ff20cb41a868c8d283e
Author: Alexander Tkachev <sasha64sasha@gmail.com>
Date: Tue Jul 19 01:48:25 2022 +0300
test: data not in dummy event
Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>
commit c3c9c7d1d3bfa56750da99f79a1c18d5d1efc105
Author: Alexander Tkachev <sasha64sasha@gmail.com>
Date: Tue Jul 19 01:46:55 2022 +0300
test: fix broken dummy values
Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>
commit bac4f19e6289137da53618476005985c4276cefe
Author: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Date: Mon Jul 18 22:42:35 2022 +0000
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
commit 5f7c7b0b9620fbc841856fb43bfff4de7ca9ac95
Author: Alexander Tkachev <sasha64sasha@gmail.com>
Date: Tue Jul 19 01:37:28 2022 +0300
test: repr
Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>
commit 593fa84428c5f0238cbce22461b85ea4eb62a664
Author: Alexander Tkachev <sasha64sasha@gmail.com>
Date: Tue Jul 19 01:35:36 2022 +0300
test: event length
Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>
commit 0259e46aa4df676c015cf666bae7e5577c8be803
Author: Alexander Tkachev <sasha64sasha@gmail.com>
Date: Tue Jul 19 01:35:21 2022 +0300
fix: incorrect iteration
Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>
commit bafcec8c2923e3f02a1138578dd04cb35673a36a
Author: Alexander Tkachev <sasha64sasha@gmail.com>
Date: Tue Jul 19 01:30:56 2022 +0300
Revert "refactor: better iter type signature"
This reverts commit 8bb3e76bf15d925ee5b5ac80e045d320f0bfbaa3.
Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>
commit 8bec7b3dd014e0849a128c3ef5865f9b11bc94d5
Author: Alexander Tkachev <sasha64sasha@gmail.com>
Date: Tue Jul 19 01:28:53 2022 +0300
test: item access
Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>
commit 8bb3e76bf15d925ee5b5ac80e045d320f0bfbaa3
Author: Alexander Tkachev <sasha64sasha@gmail.com>
Date: Tue Jul 19 01:23:14 2022 +0300
refactor: better iter type signature
Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>
commit 37fdeec23bf136e771dc30195564a4bc77860a2f
Author: Alexander Tkachev <sasha64sasha@gmail.com>
Date: Tue Jul 19 01:15:27 2022 +0300
docs: cloudevent methods
Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>
commit e0ad1ae47261e7276f086fb06aa1730b055d72d4
Author: Alexander Tkachev <sasha64sasha@gmail.com>
Date: Tue Jul 19 01:09:37 2022 +0300
docs: fix typo
Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>
commit 0095236d29e46adef34e1a80a1deb9deeb471557
Author: Alexander Tkachev <sasha64sasha@gmail.com>
Date: Tue Jul 19 01:09:23 2022 +0300
docs: fix typo
Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>
commit 3eb1fe165527fdbc77b33b01ed8090f701022a51
Author: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Date: Mon Jul 18 22:04:19 2022 +0000
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
commit 96d5b66b082b962b35895d48a073567d607d9ed2
Author: Alexander Tkachev <sasha64sasha@gmail.com>
Date: Tue Jul 19 01:03:13 2022 +0300
test: add xfail on the json content type
Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>
commit 643ed7692184dc0cebb04ba92350779ffd15c66c
Author: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Date: Mon Jul 18 21:19:50 2022 +0000
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
commit efb5950b30129b78726bc601fae81c15225fdf97
Author: Alexander Tkachev <sasha64sasha@gmail.com>
Date: Tue Jul 19 00:18:52 2022 +0300
test: json or string
Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>
commit 3307e2df6b6b21f6a37c29baa9829246ea4d7d3c
Author: Alexander Tkachev <sasha64sasha@gmail.com>
Date: Tue Jul 19 00:13:05 2022 +0300
refactor: better type information
Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>
commit 6f336804dc33e844d54aed1385e3f2db516401da
Author: Alexander Tkachev <sasha64sasha@gmail.com>
Date: Tue Jul 19 00:10:16 2022 +0300
fix: add optional to signature
Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>
commit cb29c54effbf1e0dde28b08d426c67c67c58e705
Author: Alexander Tkachev <sasha64sasha@gmail.com>
Date: Mon Jul 18 23:55:25 2022 +0300
fix: add missing decode exception
Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>
commit 412d1912c133b52851061646c9cf765b63c1c0e1
Author: Alexander Tkachev <sasha64sasha@gmail.com>
Date: Tue Jul 19 00:02:14 2022 +0300
fix: return str not bytes
Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>
commit 00cc4e3ed232354a518887eeb2e998a7b021acbf
Author: Alexander Tkachev <sasha64sasha@gmail.com>
Date: Mon Jul 18 23:56:58 2022 +0300
fix: use correct iteration
Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>
commit c7693a1066a7bed4939d7f9fd23f80054d1f630e
Author: Alexander Tkachev <sasha64sasha@gmail.com>
Date: Mon Jul 18 23:47:26 2022 +0300
fix: normalize datetime
Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>
commit 0adbc5e08d752a8ec0a1c72e9d3f9b5e95f2092f
Author: Alexander Tkachev <sasha64sasha@gmail.com>
Date: Mon Jul 18 23:45:54 2022 +0300
refactor: simplify ce json
Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>
commit 61025385ec677d61790716a4040094c83104d382
Author: Alexander Tkachev <sasha64sasha@gmail.com>
Date: Mon Jul 18 23:44:08 2022 +0300
refactor: simplify http adapter
Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>
commit f3f22f175821560b3fc5681120e61e1e1d0a30e4
Author: Alexander Tkachev <sasha64sasha@gmail.com>
Date: Mon Jul 18 23:42:58 2022 +0300
feat: dict methods
Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>
commit 08ab2ce7a61023069c6cbdc2f66d20c033e693c4
Author: Alexander Tkachev <sasha64sasha@gmail.com>
Date: Mon Jul 18 23:31:44 2022 +0300
feat: add type information for init
Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>
commit 914bbcc18c296fcdf924b11442c21d8208f579d4
Author: Alexander Tkachev <sasha64sasha@gmail.com>
Date: Mon Jul 18 23:29:56 2022 +0300
fix: normalize enums
Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>
commit aeddc2e120a82a83dbb9adbad72614a9bc00b9b8
Author: Alexander Tkachev <sasha64sasha@gmail.com>
Date: Mon Jul 18 23:22:34 2022 +0300
fix: remove *args
Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>
commit 50f985d36f822295cb8c73e8a9eb0e5f5b93fe22
Author: Alexander Tkachev <sasha64sasha@gmail.com>
Date: Mon Jul 18 23:21:55 2022 +0300
refactor: move json format methods to event module
to prevent confusion
Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>
commit 73c0ada30fc7b037aca1fafd54bf4f7908e9ccd2
Author: Alexander Tkachev <sasha64sasha@gmail.com>
Date: Mon Jul 18 23:12:11 2022 +0300
feat: http methods
Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>
commit 016a3d63a65f7e7f25121401bd2a875daf005fb6
Author: Alexander Tkachev <sasha64sasha@gmail.com>
Date: Mon Jul 18 23:11:59 2022 +0300
docs: license
Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>
commit 388b27837adc3cba781a3accdd546ef5350d404b
Author: Alexander Tkachev <sasha64sasha@gmail.com>
Date: Mon Jul 18 23:06:32 2022 +0300
refactor: json methods to use http json methods
Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>
commit 41a653937db75f6044e0e358c4228fea8561f6ee
Author: Alexander Tkachev <sasha64sasha@gmail.com>
Date: Mon Jul 18 23:05:48 2022 +0300
style: formatting
Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>
commit 03fcc8df2661c8d9969b701b7affbc13e5e175f3
Author: Alexander Tkachev <sasha64sasha@gmail.com>
Date: Mon Jul 18 22:57:49 2022 +0300
feat: simplify json functions
Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>
commit cb88107c9c2bbd81e0ab5c372b5777faddf2eb4e
Author: Alexander Tkachev <sasha64sasha@gmail.com>
Date: Mon Jul 18 22:57:36 2022 +0300
feat: from http event
Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>
commit cabcf2a02fb1d7debb635818a8bf74207078a94f
Author: Alexander Tkachev <sasha64sasha@gmail.com>
Date: Mon Jul 18 22:50:24 2022 +0300
feat: http adapter
Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>
commit 09fd02f727cd639ca6d5c7f3b0c579fe627ea5c5
Author: Alexander Tkachev <sasha64sasha@gmail.com>
Date: Sun Jul 17 22:01:57 2022 +0300
test: fix tests to adjust to specversion changes
Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>
commit c3c6f63a15d549aa24449b96248d957afa7a9c81
Author: Alexander Tkachev <sasha64sasha@gmail.com>
Date: Sun Jul 17 21:59:05 2022 +0300
fix: imports
Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>
commit d0253111eda0425df2779ad61777f5093c9c3437
Author: Alexander Tkachev <sasha64sasha@gmail.com>
Date: Sun Jul 17 21:56:26 2022 +0300
feat: spec version enum
Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>
commit dcd3871f502fe69293407ad97eb2ec5946334819
Author: Alexander Tkachev <sasha64sasha@gmail.com>
Date: Sun Jul 17 21:50:57 2022 +0300
refactor: split defaults module to attribute modules
Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>
Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>
commit fc0d718bcac9ec155a8d290fbfae21a4bd04bb82
Author: Alexander Tkachev <sasha64sasha@gmail.com>
Date: Sun Jul 17 21:45:44 2022 +0300
fix: every absolute uri is a uri reference
Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>
commit 82e3439b8efb8a478d10f7425062a02f1bef7d07
Author: Alexander Tkachev <sasha64sasha@gmail.com>
Date: Sun Jul 17 21:44:42 2022 +0300
docs: explain why cannot use pydantic
Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>
commit fbdf8fd5c48449bb6fead21ad1dfd7ec5f335a8a
Merge: eb32f0a 3bcf126
Author: Alexander Tkachev <sasha64sasha@gmail.com>
Date: Sun Jul 17 21:38:16 2022 +0300
Merge remote-tracking branch 'origin/feature/pydantic' into feature/pydantic
Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>
commit eb32f0a910e8baded4549af6e07cf21538938470
Merge: 81935fc 0a95e63
Author: Alexander Tkachev <sasha64sasha@gmail.com>
Date: Sun Jul 17 21:38:03 2022 +0300
Merge remote-tracking branch 'upstream/main' into feature/pydantic
Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>
commit 3bcf126a46857a27d46aefba2d456d853a18cde8
Author: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Date: Sun Jul 17 18:36:12 2022 +0000
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
commit 81935fcdf760222483f23728ce83be388974a623
Author: Alexander Tkachev <sasha64sasha@gmail.com>
Date: Sun Jul 17 21:30:14 2022 +0300
test: remove unused import
Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>
commit 5452151b330d463f4eaf6d91ffc77e6c9d031db7
Author: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Date: Sun Jul 17 18:16:39 2022 +0000
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>
commit a849f536283836d2b66aa951b9fefce18999415a
Author: Alexander Tkachev <sasha64sasha@gmail.com>
Date: Sun Jul 17 21:12:28 2022 +0300
build: add missing pydantic dep
Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>
commit ce2526522b2e8f84e82e326ab744858179bf93eb
Author: Alexander Tkachev <sasha64sasha@gmail.com>
Date: Sun Jul 17 21:09:10 2022 +0300
style: formatting
Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>
commit 9870c3c90a6f978d2137374aafb3b477ad9e2378
Author: Yurii Serhiichuk <xSAVIKx@users.noreply.github.com>
Date: Fri Jul 15 11:22:29 2022 +0300
ci: migrate to `main` branch (#180 )
* ci: migrate to `main` branch
Signed-off-by: Yurii Serhiichuk <savik.ne@gmail.com>
* docs: mentioned default branch change in the changelog
Signed-off-by: Yurii Serhiichuk <savik.ne@gmail.com>
Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>
commit be213912bcb8f5d308a8748442f7990d479672db
Author: Yurii Serhiichuk <xSAVIKx@users.noreply.github.com>
Date: Thu Jul 14 12:11:16 2022 +0300
release: v1.4.0 (#179 )
Signed-off-by: Yurii Serhiichuk <savik.ne@gmail.com>
Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>
commit 84b488ac8a50131dd82c618cee6869d7be231366
Author: Alexander Tkachev <sasha64sasha@gmail.com>
Date: Thu Jul 14 00:10:08 2022 +0300
fix __eq__ operator raises attribute error on non-cloudevent values (#172 )
* fix: non-cloudevents values must not equal to cloudevents values (#171 )
Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>
* test: refactor move fixtures to beginning
Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>
* test: cloudevent equality bug regression (#171 )
Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>
* style: remove redundent else
Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>
* test: remove redundent test
Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>
* test: refactor non_cloudevent_value into a parameterization
Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>
* docs: update changelog
Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* docs: fix bad merge
Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>
commit 396c011a24964398e7d885bd13b441bb75b3a8e2
Author: Yurii Serhiichuk <xSAVIKx@users.noreply.github.com>
Date: Mon Jul 11 20:05:45 2022 +0300
chore: drop `docs` and related files (#168 )
* chore: drop `docs` and related files
Signed-off-by: Yurii Serhiichuk <savik.ne@gmail.com>
* docs: update changelog
Signed-off-by: Yurii Serhiichuk <savik.ne@gmail.com>
Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>
commit faff6dca07eec7f4e7bfbf5b5308c440e8424f65
Author: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Date: Sat Jul 16 12:24:07 2022 +0000
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>
commit 9d8b6df94fa4ccbf70d060d9531a3830a101a196
Author: Yurii Serhiichuk <xSAVIKx@users.noreply.github.com>
Date: Fri Jul 15 11:22:29 2022 +0300
ci: migrate to `main` branch (#180 )
* ci: migrate to `main` branch
Signed-off-by: Yurii Serhiichuk <savik.ne@gmail.com>
* docs: mentioned default branch change in the changelog
Signed-off-by: Yurii Serhiichuk <savik.ne@gmail.com>
Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>
commit fa540c714781f641615282a57cca369d89f456d9
Author: Yurii Serhiichuk <xSAVIKx@users.noreply.github.com>
Date: Thu Jul 14 12:11:16 2022 +0300
release: v1.4.0 (#179 )
Signed-off-by: Yurii Serhiichuk <savik.ne@gmail.com>
commit 573098232524d9dbb627615cdd0cdd42834dbed0
Author: Alexander Tkachev <sasha64sasha@gmail.com>
Date: Sat Jul 16 15:16:38 2022 +0300
style: sort imports
Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>
commit 14fdbfcc760ea6a0c2e00c8760eecc4132942685
Author: Alexander Tkachev <sasha64sasha@gmail.com>
Date: Sat Jul 16 15:14:34 2022 +0300
feat: add more examples
Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>
commit 49bd752b1efac4ba25826beb1ff3e09642f40352
Author: Alexander Tkachev <sasha64sasha@gmail.com>
Date: Sat Jul 16 15:04:51 2022 +0300
test: binary data deserialization
Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>
commit c5a8b8668029a68dbe3e6d27b2f876da2ee566c0
Author: Alexander Tkachev <sasha64sasha@gmail.com>
Date: Sat Jul 16 15:02:30 2022 +0300
fix: raise correct exception type to prevent confusion
Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>
commit 0e075ae22531c042d89874c56e8d5076f81d8894
Author: Alexander Tkachev <sasha64sasha@gmail.com>
Date: Sat Jul 16 14:57:42 2022 +0300
test: binary data serialization
Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>
commit b325caeec49fcb1d2cd0e125881bec49e137e0a7
Author: Alexander Tkachev <sasha64sasha@gmail.com>
Date: Sat Jul 16 14:57:23 2022 +0300
fix: forbid api mixing
Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>
commit f07169dff83dd9d830cf9f927d0c922a8c5aaefa
Author: Alexander Tkachev <sasha64sasha@gmail.com>
Date: Sat Jul 16 14:47:06 2022 +0300
test: json content type serialization
Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>
commit 525dee0ddeb2bf035e13383e29994e3ef785e761
Author: Alexander Tkachev <sasha64sasha@gmail.com>
Date: Sat Jul 16 14:39:16 2022 +0300
fix: incorrect behaviour for mirroring
Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>
commit 29a48598877562a5f8ad392bea51ceb4c4815343
Author: Alexander Tkachev <sasha64sasha@gmail.com>
Date: Sat Jul 16 14:33:37 2022 +0300
test: pydantic cloudevent
Signed-off-by: Alexander Tkachev <sasha64sasha@gmai…
* docs: include pydantic feature to changelog
Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>
* docs: add deprecations to changelog
Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2022-08-13 21:35:53 +03:00
Yurii Serhiichuk
47818a980d
release: v1.5.0 ( #187 )
...
* chore: bump version.
Signed-off-by: Yurii Serhiichuk <savik.ne@gmail.com>
* docs: Update the Changelog.
Signed-off-by: Yurii Serhiichuk <savik.ne@gmail.com>
* deps: fix `sanic` vulnerability.
Signed-off-by: Yurii Serhiichuk <savik.ne@gmail.com>
2022-08-07 09:32:57 -07:00
Alexander Tkachev
785bfe731b
refactor: create abstract cloudevent ( #186 )
...
* fix: non-cloudevents values must not equal to cloudevents values (#171 )
Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>
* test: refactor move fixtures to beginning
Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>
* test: cloudevent equality bug regression (#171 )
Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>
* style: remove redundent else
Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>
* test: remove redundent test
Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>
* test: refactor non_cloudevent_value into a parameterization
Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>
* docs: update changelog
Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* docs: fix bad merge
Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* feat: abstract event
Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>
* feat: add missing return type
Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>
* feat: create function
Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>
* feat: any cloud event
Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>
* refactor: move to abstract
Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>
* refactor: integrate abstract event
Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>
* refactor: create abstract cloudevent package
Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>
* docs: abstract cloudevent
Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>
* feat: simplify data attributes
Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>
* fix: intengrate data read model
Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>
* feat: define abstract methods
Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>
* refactor: use anycloudevent for generics
Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>
* docs: getitem documentation
Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>
* docs: better cloudevent explenation
Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>
* docs: explain read model
Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>
* docs: not implemented errors
Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>
* docs: explain why impl has no public attributes property
Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>
* docs: add missing comment to from_http
Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>
* test: add abstract cloudevent coverage tests
Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>
* refactor: rename abstract to generic
Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>
* refactor: cloudevent is no longer absctract
Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>
* test: fix broken test
Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>
* Revert "refactor: rename abstract to generic"
This reverts commit 89d30eb23d
.
Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>
* refactor: move all abstract conversion logic under conversion
Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>
* test: rename badly named test
Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>
* refactor: add default value for conversions
Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>
* docs: remove inconsistent types
Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>
* refactor: remove mutation variables from contract
Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>
* refactor: expose data and attributes in class
Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>
* test: remove broken tests
Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>
* refactor: use classmethods
Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>
* refactor: remove optional type
Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>
* refactor: convert get_data and get_attributes to private member functions
instead of classmethods
Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>
* build: ignore not-implemented functions in coverage
Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* docs: mentioned default branch change in the changelog
Signed-off-by: Yurii Serhiichuk <savik.ne@gmail.com>
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Yurii Serhiichuk <savik.ne@gmail.com>
2022-08-06 14:52:22 +03:00
Alexander Tkachev
61c8657025
fix: `_json_or_string` no longer fails on malformed unicode buffers ( #184 )
...
* fix: add missing decode exception
Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>
* fix: add optional to signature
Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>
* refactor: better type information
Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>
* test: json or string
Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>
* docs: update changelog
Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>
* refactor: use anystr
Co-authored-by: Yurii Serhiichuk <xSAVIKx@users.noreply.github.com>
Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>
* refactor: use anystr instead of custom type var
Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>
* docs: _json_or_string
Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Yurii Serhiichuk <xSAVIKx@users.noreply.github.com>
2022-07-24 21:49:19 +03:00
Yurii Serhiichuk
0a95e63776
ci: migrate to `main` branch ( #180 )
...
* ci: migrate to `main` branch
Signed-off-by: Yurii Serhiichuk <savik.ne@gmail.com>
* docs: mentioned default branch change in the changelog
Signed-off-by: Yurii Serhiichuk <savik.ne@gmail.com>
2022-07-15 11:22:29 +03:00
Yurii Serhiichuk
86e6002d25
release: v1.4.0 ( #179 )
...
Signed-off-by: Yurii Serhiichuk <savik.ne@gmail.com>
2022-07-14 12:11:16 +03:00
Alexander Tkachev
ad111ae89a
fix __eq__ operator raises attribute error on non-cloudevent values ( #172 )
...
* fix: non-cloudevents values must not equal to cloudevents values (#171 )
Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>
* test: refactor move fixtures to beginning
Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>
* test: cloudevent equality bug regression (#171 )
Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>
* style: remove redundent else
Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>
* test: remove redundent test
Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>
* test: refactor non_cloudevent_value into a parameterization
Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>
* docs: update changelog
Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* docs: fix bad merge
Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2022-07-14 00:10:08 +03:00
Alexander Tkachev
f39b964209
feat: add type information for all cloudevent member functions ( #173 )
...
* feat: add type information for all cloudevent member functions
Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>
* docs: update changelog
Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>
2022-07-12 22:44:43 +03:00
Yurii Serhiichuk
18951808b1
chore: unify copyright with other SDKs and update/add it where needed. ( #170 )
...
* chore: unify copyright with other SDKs and update/add it where needed.
Signed-off-by: Yurii Serhiichuk <savik.ne@gmail.com>
* docs: update changelog
Signed-off-by: Yurii Serhiichuk <savik.ne@gmail.com>
* style: Add missing empty line.
Signed-off-by: Yurii Serhiichuk <savik.ne@gmail.com>
2022-07-11 12:56:07 -07:00
Yurii Serhiichuk
1cdd2542ba
ci: cleanup CI config and update setup ( #169 )
...
* ci: Run tests on multiple OS. Use latest action versions.
Signed-off-by: Yurii Serhiichuk <savik.ne@gmail.com>
* ci: use fixed `pupi-publish` action version and update others.
Signed-off-by: Yurii Serhiichuk <savik.ne@gmail.com>
* docs: update changelog
Signed-off-by: Yurii Serhiichuk <savik.ne@gmail.com>
* Upgrade python setup action to the latest v4
Signed-off-by: Yurii Serhiichuk <savik.ne@gmail.com>
2022-07-11 22:38:34 +03:00
Yurii Serhiichuk
a61b84b1be
chore: drop `docs` and related files ( #168 )
...
* chore: drop `docs` and related files
Signed-off-by: Yurii Serhiichuk <savik.ne@gmail.com>
* docs: update changelog
Signed-off-by: Yurii Serhiichuk <savik.ne@gmail.com>
2022-07-11 20:05:45 +03:00
Lucas Bickel
2896d04c79
fix: merge strings on same line into single string ( #153 )
...
* fix: merge strings on same line into single string
Signed-off-by: Lucas Bickel <hairmare@rabe.ch>
* chore: blacken example
Signed-off-by: Lucas <lucas.bickel@adfinis.com>
2022-07-10 16:04:23 +03:00
dependabot[bot]
ae3099de60
chore: bump sanic from 20.12.3 to 20.12.6 in /requirements ( #155 )
...
Bumps [sanic](https://github.com/sanic-org/sanic ) from 20.12.3 to 20.12.6.
- [Release notes](https://github.com/sanic-org/sanic/releases )
- [Changelog](https://github.com/sanic-org/sanic/blob/main/CHANGELOG.rst )
- [Commits](https://github.com/sanic-org/sanic/compare/v20.12.3...v20.12.6 )
---
updated-dependencies:
- dependency-name: sanic
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Grant Timmerman <744973+grant@users.noreply.github.com>
Co-authored-by: Yurii Serhiichuk <xSAVIKx@users.noreply.github.com>
2022-07-10 13:46:52 +03:00
Yurii Serhiichuk
885d365dd2
Feat/dev env cleanup ( #167 )
...
* build: Update pre-commit config versions and setup.
Signed-off-by: Yurii Serhiichuk <savik.ne@gmail.com>
* build: Migrate isort config to `pyproject`
Signed-off-by: Yurii Serhiichuk <savik.ne@gmail.com>
* style: Use recommended black-compatible flake8 options
Signed-off-by: Yurii Serhiichuk <savik.ne@gmail.com>
* build: Add standard pre-commit hooks.
Signed-off-by: Yurii Serhiichuk <savik.ne@gmail.com>
* docs: Add a note about this PR to the changelog.
Signed-off-by: Yurii Serhiichuk <savik.ne@gmail.com>
* docs: Cleanup docs, fix links. Add lins to respective tooling.
Signed-off-by: Yurii Serhiichuk <savik.ne@gmail.com>
* build: add dev-only dependencies.
Signed-off-by: Yurii Serhiichuk <savik.ne@gmail.com>
* style: reformat using new style/format configs
Signed-off-by: Yurii Serhiichuk <savik.ne@gmail.com>
* build: add pre-commit to dev dependencies
Signed-off-by: Yurii Serhiichuk <savik.ne@gmail.com>
* style: run pre-commit hooks on all the files
Signed-off-by: Yurii Serhiichuk <savik.ne@gmail.com>
* docs: Add dev status to the classifier.
Signed-off-by: Yurii Serhiichuk <savik.ne@gmail.com>
* docs: add missing links and dates for releases and PRs.
Signed-off-by: Yurii Serhiichuk <savik.ne@gmail.com>
* docs: Add latest PR to the changelog
Signed-off-by: Yurii Serhiichuk <savik.ne@gmail.com>
* ci: Add new maintainers
Signed-off-by: Yurii Serhiichuk <savik.ne@gmail.com>
2022-07-10 12:53:37 +03:00
Alexander Tkachev
8483e8e310
feat: event attribute get operation support ( #165 )
...
* feat: get operation support
Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>
* docs: event get operation
Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>
* test: extract dummy attributes into a fixture
Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>
* test: extract common dummy data into consts
Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>
* test: event get operation
Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>
* docs: return value
Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>
* test: remove assertion
Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>
* test: move dummy data into fixtures
Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>
* style: black formatting
Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>
* style: black formatting
Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>
* docs: fix bad grammar
Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>
* test: style fix line too long
Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>
* style: fix line too long
Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>
2022-07-10 12:44:52 +03:00
Yurii Serhiichuk
aee384bf43
Release v1.3.0 ( #166 )
...
* Bump version
Signed-off-by: Yurii Serhiichuk <savik.ne@gmail.com>
* Add v1.3.0 changelog.
Signed-off-by: Yurii Serhiichuk <savik.ne@gmail.com>
* Fix MD language highlight
Signed-off-by: Yurii Serhiichuk <savik.ne@gmail.com>
2022-07-09 09:24:28 -07:00
Dustin Ingram
900e315d36
Improve redistribute-ability ( #151 )
...
* Move functions needed to build project into setup.py
Signed-off-by: Dustin Ingram <di@users.noreply.github.com>
* Only execute setup() in __main__
Signed-off-by: Dustin Ingram <di@users.noreply.github.com>
Co-authored-by: Yurii Serhiichuk <xSAVIKx@users.noreply.github.com>
2022-07-09 12:25:50 +03:00
Doug Davis
1a0d48eb0f
rename ( #160 )
...
Signed-off-by: Doug Davis <dug@microsoft.com>
2022-04-27 12:48:44 -04:00
Doug Davis
6c182e0b1c
add .clomonitor.yaml ( #159 )
...
Signed-off-by: Doug Davis <dug@microsoft.com>
2022-04-27 10:15:15 -04:00
Doug Davis
d3b8892da7
Add some CLO stuff ( #158 )
...
Signed-off-by: Doug Davis <dug@microsoft.com>
2022-04-26 14:38:38 -04:00
Dustin Ingram
2e5b96be7e
Support Python 3.10 ( #150 )
...
* ci: test python3.10
Signed-off-by: Grant Timmerman <timmerman+devrel@google.com>
Signed-off-by: Dustin Ingram <di@users.noreply.github.com>
* Remove hard pins in requirements
Signed-off-by: Dustin Ingram <di@users.noreply.github.com>
* Add sanic_testing dependency
Signed-off-by: Dustin Ingram <di@users.noreply.github.com>
* Constrain sanic/sanic-testing for 3.6
Signed-off-by: Dustin Ingram <di@users.noreply.github.com>
Co-authored-by: Grant Timmerman <timmerman+devrel@google.com>
2022-04-08 19:22:12 -04:00
Grant Timmerman
6f27322146
ci: use valid sanic instance name ( #157 )
...
* ci: use valid sanic instance name
Signed-off-by: Grant Timmerman <744973+grant@users.noreply.github.com>
* ci: use simple sanic name
Signed-off-by: Grant Timmerman <744973+grant@users.noreply.github.com>
2022-04-08 19:19:50 -04:00
jiashuChen
43659228ae
fix: link to flask server sample file in README.md ( #154 )
...
Signed-off-by: Jiashu Chen <cjs20080808@hotmail.com>
Co-authored-by: Grant Timmerman <744973+grant@users.noreply.github.com>
2022-04-07 18:09:22 -07:00
Grant Timmerman
da47910770
Add correct type annotations for tuple return types ( #149 )
...
* style: fix some tuple type style lint issues
Signed-off-by: Grant Timmerman <timmerman+devrel@google.com>
* ci: remove other files
Signed-off-by: Grant Timmerman <timmerman+devrel@google.com>
2022-04-07 17:22:49 -07:00
Graham Campbell
705e8b4100
Added support for Python 3.9 ( #144 )
...
Signed-off-by: Graham Campbell <hello@gjcampbell.co.uk>
2021-09-02 17:58:52 -05:00
Xin Yang
a5fc827513
ignore datacontenttype when using to_binary() ( #138 )
...
* ignore datacontenttype when using to_binary()
Signed-off-by: XinYang <xinydev@gmail.com>
* fix tests
Signed-off-by: XinYang <xinydev@gmail.com>
* fix tests. sanic>20.12 does not support py3.6 any more
Signed-off-by: XinYang <xinydev@gmail.com>
2021-06-01 08:53:47 -05:00
Grant Timmerman
b83bfc58eb
docs: add cloudevents module requirement in samples ( #129 )
...
Signed-off-by: Grant Timmerman <timmerman+devrel@google.com>
Co-authored-by: Dustin Ingram <di@users.noreply.github.com>
2020-10-23 02:05:28 -05:00