Commit Graph

15 Commits

Author SHA1 Message Date
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
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
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
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 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 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
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
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
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
Curtis Mason 14c76188d1
V1.1.0 dev (#114)
* 100% test-coverage rule added to tox (#109)

* version bump

Signed-off-by: Curtis Mason <cumason@google.com>

* adding tests for marshaller

Signed-off-by: Curtis Mason <cumason@google.com>

* marshaller 100% test-coverage

Signed-off-by: Curtis Mason <cumason@bu.edu>

* bricked some tests

Signed-off-by: Curtis Mason <cumason@bu.edu>

* additional error handling

Signed-off-by: Curtis Mason <cumason@bu.edu>

* 100% test-coverage

Signed-off-by: Curtis Mason <cumason@bu.edu>

* handles empty data and capitalized headers

Signed-off-by: Curtis Mason <cumason@bu.edu>

* 1.1.0 version bump

Signed-off-by: Curtis Mason <cumason@bu.edu>

* Removed _http suffix from http_methods (#108)

* Removed _http suffix from http_methods

to_binary_http renamed to_binary, and to_structured_http renamed
to_structured. These functions are inside of cloudevents.http thus the
_http part should be implicitly understood.

Signed-off-by: Curtis Mason <cumason@google.com>

* version bump

Signed-off-by: Curtis Mason <cumason@google.com>

* deprecated instead of removal

Signed-off-by: Curtis Mason <cumason@bu.edu>

* Update setup.py

Co-authored-by: Dustin Ingram <di@users.noreply.github.com>
Signed-off-by: Curtis Mason <cumason@bu.edu>

* 1.1.0 version bump

Signed-off-by: Curtis Mason <cumason@bu.edu>

Co-authored-by: Dustin Ingram <di@users.noreply.github.com>

* swapped args for from_http (#110)

Signed-off-by: Curtis Mason <cumason@bu.edu>

* exception names shortened (#111)

* exception names shortened

Signed-off-by: Curtis Mason <cumason@google.com>

* to_structured documentation

Signed-off-by: Curtis Mason <cumason@google.com>

* adjusted readme and changelog (#113)

* adjusted readme and changelog

Signed-off-by: Curtis Mason <cumason@google.com>

* readme adjustment

Signed-off-by: Curtis Mason <cumason@google.com>

* structured content mode

Signed-off-by: Curtis Mason <cumason@google.com>

Co-authored-by: Dustin Ingram <di@users.noreply.github.com>
2020-08-18 10:49:02 -04:00
Curtis Mason 390134c2b9
Release v1.0.0 (#89)
* Created CloudEvent class (#36)

CloudEvents is a more pythonic interface for using cloud events.
It is powered by internal marshallers and cloud event base classes.
It performs basic validation on fields, and cloud event type checking.

Signed-off-by: Curtis Mason <cumason@google.com>
Signed-off-by: Dustin Ingram <di@users.noreply.github.com>

* Implemented python properties in base.py (#41)

* Added SetCloudEventVersion

Signed-off-by: Curtis Mason <cumason@google.com>
Signed-off-by: Dustin Ingram <di@users.noreply.github.com>

* began adding python properties

Signed-off-by: Curtis Mason <cumason@google.com>
Signed-off-by: Dustin Ingram <di@users.noreply.github.com>

* added pythonic properties to base class

Signed-off-by: Curtis Mason <cumason@google.com>
Signed-off-by: Dustin Ingram <di@users.noreply.github.com>

* began testing for getters/setters

Signed-off-by: Curtis Mason <cumason@google.com>
Signed-off-by: Dustin Ingram <di@users.noreply.github.com>

* added general setter tests

Signed-off-by: Curtis Mason <cumason@google.com>
Signed-off-by: Dustin Ingram <di@users.noreply.github.com>

* fixed spacing in base.py

Signed-off-by: Curtis Mason <cumason@google.com>
Signed-off-by: Dustin Ingram <di@users.noreply.github.com>

* added __eq__ to option and datacontentencoding property to v03

Signed-off-by: Curtis Mason <cumason@google.com>
Signed-off-by: Dustin Ingram <di@users.noreply.github.com>

* lint fixes

Signed-off-by: Curtis Mason <cumason@google.com>
Signed-off-by: Dustin Ingram <di@users.noreply.github.com>

* testing extensions and old getters

Signed-off-by: Curtis Mason <cumason@google.com>
Signed-off-by: Dustin Ingram <di@users.noreply.github.com>

* removed versions v01 and v02 from test_data_encaps_refs.py

Signed-off-by: Curtis Mason <cumason@google.com>
Signed-off-by: Dustin Ingram <di@users.noreply.github.com>

* fixed inheritance issue in CloudEvent

Signed-off-by: Curtis Mason <cumason@google.com>

* added prefixed_headers dict to test

Signed-off-by: Curtis Mason <cumason@google.com>

* Http structured cloudevents (#47)

* Moved fields out of base & structured support

base._ce_required_fields and base._ce_optional_fields were moved into
event classes v03 and v1.

http_events.CloudEvent class now looks for fieldnames in either headers
or data, and can automatically determine whether this is a binary or
structured event.

Signed-off-by: Curtis Mason <cumason@google.com>

* testing structured

Signed-off-by: Curtis Mason <cumason@google.com>

* added tests for structured events

Signed-off-by: Curtis Mason <cumason@google.com>

* Added test valid structured cloudevents

Signed-off-by: Curtis Mason <cumason@google.com>

* Created default headers arg in CloudEvent

Signed-off-by: Curtis Mason <cumason@google.com>

* Added http_events.py sample code

Signed-off-by: Curtis Mason <cumason@google.com>

* removed ../python-event-requests

Signed-off-by: Curtis Mason <cumason@google.com>

* README.md nit

Signed-off-by: Curtis Mason <cumason@google.com>

* client.py nit

Signed-off-by: Curtis Mason <cumason@google.com>

* comment nits

Signed-off-by: Curtis Mason <cumason@google.com>

* created __getitem__ in CloudEvent

Signed-off-by: Curtis Mason <cumason@google.com>

* sample nits

Signed-off-by: Curtis Mason <cumason@google.com>

* fixed structured empty data issue

Signed-off-by: Curtis Mason <cumason@google.com>

* Added CloudEvent to README

Signed-off-by: Curtis Mason <cumason@google.com>

* added http_msg to CloudEvent

Signed-off-by: Curtis Mason <cumason@google.com>

* implemented ToRequest in CloudEvent

Signed-off-by: Curtis Mason <cumason@google.com>

* testing more specversions

Signed-off-by: Curtis Mason <cumason@google.com>

* Added sample code to README.md

Signed-off-by: Curtis Mason <cumason@google.com>

* modified sample code

Signed-off-by: Curtis Mason <cumason@google.com>

* added datavalidation to changelog

Signed-off-by: Curtis Mason <cumason@google.com>

* updated README

Signed-off-by: Curtis Mason <cumason@google.com>

* README adjustment

Signed-off-by: Curtis Mason <cumason@google.com>

* ruler 80 adjustment on http_events

Signed-off-by: Curtis Mason <cumason@google.com>

* style and renamed ToRequest to to_request

Signed-off-by: Curtis Mason <cumason@google.com>

* lint fix

Signed-off-by: Curtis Mason <cumason@google.com>

* fixed self.binary typo

Signed-off-by: Curtis Mason <cumason@google.com>

* CHANGELOG adjustment

Signed-off-by: Curtis Mason <cumason@google.com>

* rollback CHANGELOG

Signed-off-by: Curtis Mason <cumason@google.com>

* Added documentation to to_request

Signed-off-by: Curtis Mason <cumason@google.com>

* README.md adjustment

Signed-off-by: Curtis Mason <cumason@google.com>

* renamed event_handler to event_version

Signed-off-by: Curtis Mason <cumason@google.com>

* inlined field_name_modifier

Signed-off-by: Curtis Mason <cumason@google.com>

* renamed test body data

Signed-off-by: Curtis Mason <cumason@google.com>

* removed unnecessary headers from test

Signed-off-by: Curtis Mason <cumason@google.com>

* removed field_name_modifier and fixed e.g. in client.py

Signed-off-by: Curtis Mason <cumason@google.com>

* pylint fix

Signed-off-by: Curtis Mason <cumason@google.com>

* Update types and handle data_base64 structured. (#34)

* Update types and handle data_base64 structured.

- Add sane defaults for encoding
  - Unfortunately, defaults for structured and binary need to be *different*
   - Push types through interfaces
- Make it easy to call 'ToRequest' using Marshaller defaults
- Add tests for above

Signed-off-by: Evan Anderson <evan.k.anderson@gmail.com>

* Fix lint warnings due to changes to W503/W504

See https://gitlab.com/pycqa/flake8/-/issues/466 for details.

Signed-off-by: Evan Anderson <evan.k.anderson@gmail.com>

* Adopt di's suggestions.

Signed-off-by: Evan Anderson <evan.k.anderson@gmail.com>

* Fix lint.

Signed-off-by: Evan Anderson <evan.k.anderson@gmail.com>

* Move types to another package.

Signed-off-by: Evan Anderson <evan.k.anderson@gmail.com>

* Adjust CloudEvent class in http_events.py to support binary data as well as JSON.

Signed-off-by: Evan Anderson <evan.k.anderson@gmail.com>

* Apply suggested changes by MacrBoissonneault

Signed-off-by: Evan Anderson <evan.k.anderson@gmail.com>

* Fix samples as well.

Signed-off-by: Evan Anderson <evan.k.anderson@gmail.com>

* Fix lint. Apparently, we can complain about formating issues, but a human has to fix them.

Signed-off-by: Evan Anderson <evan.k.anderson@gmail.com>

* Add test for binary encoding of messages.

Fix usability of binary detection in MarshalJSON to support memoryview.

Signed-off-by: Evan Anderson <evan.k.anderson@gmail.com>

* Fix errors noticed by cumason123

Signed-off-by: Evan Anderson <evan.k.anderson@gmail.com>

* Changelog version deprecation (#48)

* added changelog

Signed-off-by: Curtis Mason <cumason@google.com>

* Created CloudEvent class (#36)

CloudEvents is a more pythonic interface for using cloud events.
It is powered by internal marshallers and cloud event base classes.
It performs basic validation on fields, and cloud event type checking.

Signed-off-by: Curtis Mason <cumason@google.com>
Signed-off-by: Dustin Ingram <di@users.noreply.github.com>
Signed-off-by: Curtis Mason <cumason@google.com>

* Fix tox configuration for CI (#46)

Signed-off-by: Dustin Ingram <di@users.noreply.github.com>
Signed-off-by: Curtis Mason <cumason@google.com>

* Implemented python properties in base.py (#41)

* Added SetCloudEventVersion

Signed-off-by: Curtis Mason <cumason@google.com>
Signed-off-by: Dustin Ingram <di@users.noreply.github.com>

* began adding python properties

Signed-off-by: Curtis Mason <cumason@google.com>
Signed-off-by: Dustin Ingram <di@users.noreply.github.com>

* added pythonic properties to base class

Signed-off-by: Curtis Mason <cumason@google.com>
Signed-off-by: Dustin Ingram <di@users.noreply.github.com>

* began testing for getters/setters

Signed-off-by: Curtis Mason <cumason@google.com>
Signed-off-by: Dustin Ingram <di@users.noreply.github.com>

* added general setter tests

Signed-off-by: Curtis Mason <cumason@google.com>
Signed-off-by: Dustin Ingram <di@users.noreply.github.com>

* fixed spacing in base.py

Signed-off-by: Curtis Mason <cumason@google.com>
Signed-off-by: Dustin Ingram <di@users.noreply.github.com>

* added __eq__ to option and datacontentencoding property to v03

Signed-off-by: Curtis Mason <cumason@google.com>
Signed-off-by: Dustin Ingram <di@users.noreply.github.com>

* lint fixes

Signed-off-by: Curtis Mason <cumason@google.com>
Signed-off-by: Dustin Ingram <di@users.noreply.github.com>

* testing extensions and old getters

Signed-off-by: Curtis Mason <cumason@google.com>
Signed-off-by: Dustin Ingram <di@users.noreply.github.com>

* removed versions v01 and v02 from test_data_encaps_refs.py

Signed-off-by: Curtis Mason <cumason@google.com>
Signed-off-by: Dustin Ingram <di@users.noreply.github.com>

* fixed inheritance issue in CloudEvent

Signed-off-by: Curtis Mason <cumason@google.com>

* added prefixed_headers dict to test

Signed-off-by: Curtis Mason <cumason@google.com>

* CHANGELOG adjustment

Signed-off-by: Curtis Mason <cumason@google.com>

* Update CHANGELOG.md

Co-authored-by: Dustin Ingram <di@users.noreply.github.com>
Signed-off-by: Curtis Mason <cumason@google.com>

* Update CHANGELOG.md

Co-authored-by: Dustin Ingram <di@users.noreply.github.com>
Signed-off-by: Curtis Mason <cumason@google.com>

* Update CHANGELOG.md

Co-authored-by: Dustin Ingram <di@users.noreply.github.com>
Signed-off-by: Curtis Mason <cumason@google.com>

* Update CHANGELOG.md

Co-authored-by: Dustin Ingram <di@users.noreply.github.com>
Signed-off-by: Curtis Mason <cumason@google.com>

* Removed irrelevant files from commit diff

Signed-off-by: Curtis Mason <cumason@google.com>

Co-authored-by: Dustin Ingram <di@users.noreply.github.com>

* Black formatter (#51)

* black and isort added to precommit

Signed-off-by: Curtis Mason <cumason@google.com>

* main renaming

Signed-off-by: Curtis Mason <cumason@google.com>

* fixed tox

Signed-off-by: Curtis Mason <cumason@google.com>

* linting in tox rename

Signed-off-by: Curtis Mason <cumason@google.com>

* fixed tox trailing space

Signed-off-by: Curtis Mason <cumason@google.com>

* added reformat tox env

Signed-off-by: Curtis Mason <cumason@google.com>

* Reformatting files

Signed-off-by: Curtis Mason <cumason@google.com>

* reformatted more files

Signed-off-by: Curtis Mason <cumason@google.com>

* documented tox in README

Signed-off-by: Curtis Mason <cumason@google.com>

* removed -rc flag

Signed-off-by: Curtis Mason <cumason@google.com>

* README and http-cloudevents sample code adjustments to reflect new CloudEvent (#56)

* README and http-cloudevents CloudEvent adjustments

README no longer shows how to use base event classes to create events.
Removed this because users shouldn't be forced to interact with the
marshaller class. Additionally, CloudEvent is a simpler interface
therefore we are encouraging the CloudEvent class usage.
http-cloudevents now has more example usage for the getitem overload.
Similarly README shows how to use getitem overload.

Signed-off-by: Curtis Mason <cumason@google.com>

* lint reformat

Signed-off-by: Curtis Mason <cumason@google.com>

* resolved nits

Signed-off-by: Curtis Mason <cumason@google.com>

* lint fix

Signed-off-by: Curtis Mason <cumason@google.com>

* renamed /mycontext to url

Signed-off-by: Curtis Mason <cumason@google.com>

* renamed here linlk to in the samples directory

Signed-off-by: Curtis Mason <cumason@google.com>

* Separated http methods (#60)

* instantiated http path

Signed-off-by: Curtis Mason <cumason@google.com>

* moved from_http from CloudEvent to http

Signed-off-by: Curtis Mason <cumason@google.com>

* Moved to_http out of CloudEvent

Signed-off-by: Curtis Mason <cumason@google.com>

* moved http library into event.py

Signed-off-by: Curtis Mason <cumason@google.com>

* testing printable cloudevent

Signed-off-by: Curtis Mason <cumason@google.com>

* Adjusted README

Signed-off-by: Curtis Mason <cumason@google.com>

* Created EventClass

Signed-off-by: Curtis Mason <cumason@google.com>

* reformatted event.py

Signed-off-by: Curtis Mason <cumason@google.com>

* from_json definition

Signed-off-by: Curtis Mason <cumason@google.com>

* server print changes

Signed-off-by: Curtis Mason <cumason@google.com>

* Specversion toggling (#57)

* cloudevent now switches specversion types

Signed-off-by: Curtis Mason <cumason@google.com>

* removed duplicate marshall instance

Signed-off-by: Curtis Mason <cumason@google.com>

* resolved grant requests

Signed-off-by: Curtis Mason <cumason@google.com>

* converters now can check headers for fields

Signed-off-by: Curtis Mason <cumason@google.com>

* removed print statement

Signed-off-by: Curtis Mason <cumason@google.com>

* Fixed marshallers looking at headers for specversion

Signed-off-by: Curtis Mason <cumason@google.com>

* lint fixes

Signed-off-by: Curtis Mason <cumason@google.com>

* is_binary static method and structured isinstance rework

Signed-off-by: Curtis Mason <cumason@google.com>

* testing for is_binary and is_structured

Signed-off-by: Curtis Mason <cumason@google.com>

* Image sample code (#65)

* added image example

Signed-off-by: Curtis Mason <cumason@google.com>

* moved size into headers

Signed-off-by: Curtis Mason <cumason@google.com>

* lint fix

Signed-off-by: Curtis Mason <cumason@google.com>

* renamed sample code

Signed-off-by: Curtis Mason <cumason@google.com>

* added test to http-image-cloudevents sample

Signed-off-by: Curtis Mason <cumason@google.com>

* removed unnecessary function

Signed-off-by: Curtis Mason <cumason@google.com>

* Added testing for http-image-cloudevents

Signed-off-by: Curtis Mason <cumason@google.com>

* Data marshall arg fix and better image in sample

Fixed bug where data_marshaller and data_unmarshaller wasn't being
passed into positional arguments. Also used cloudevents logo for the
image in http-image-cloudevents

Signed-off-by: Curtis Mason <cumason@google.com>

* adjusted http-image-cloudevents samples

Signed-off-by: Curtis Mason <cumason@google.com>

* reformat and README changes

Signed-off-by: Curtis Mason <cumason@google.com>

* io bytes casting in data_unmarshaller

Signed-off-by: Curtis Mason <cumason@google.com>

* lint fix

Signed-off-by: Curtis Mason <cumason@google.com>

* removed unusued imports in http-image samples

Signed-off-by: Curtis Mason <cumason@google.com>

* removed samples/http-cloudevents/tmp.png

Signed-off-by: Curtis Mason <cumason@google.com>

* Nits

Signed-off-by: Curtis Mason <cumason@google.com>

* Implemented to_json and from_json (#72)

* added test_to_json test

Signed-off-by: Curtis Mason <cumason@google.com>

* implemented to_json with tests

Signed-off-by: Curtis Mason <cumason@google.com>

* from_json and to_json tests

Signed-off-by: Curtis Mason <cumason@google.com>

* Tests for to_json being able to talk to from_json

Signed-off-by: Curtis Mason <cumason@google.com>

* lint fix

Signed-off-by: Curtis Mason <cumason@google.com>

* added documentation for to_json and from_json

Signed-off-by: Curtis Mason <cumason@google.com>

* lint fix

Signed-off-by: Curtis Mason <cumason@google.com>

* lint fix

Signed-off-by: Curtis Mason <cumason@google.com>

* Fixed top level extensions bug (#71)

* Fixed top level extensions bug

Signed-off-by: Curtis Mason <cumason@google.com>

* lint fix

Signed-off-by: Curtis Mason <cumason@google.com>

* fixed name bug in test_event_extensions

Signed-off-by: Curtis Mason <cumason@google.com>

* fixed broken links in README.md (#75)

Signed-off-by: Curtis Mason <cumason@google.com>

* Fixed marshaller documentation typo's in http (#76)

* Fixed marshaller documentation in http directory

Signed-off-by: Curtis Mason <cumason@google.com>

* adjusted marshaller documentation

Signed-off-by: Curtis Mason <cumason@google.com>

* None data fix (#78)

* fixed none data issue

Signed-off-by: Curtis Mason <cumason@google.com>

* added none data test for marshalling

Signed-off-by: Curtis Mason <cumason@google.com>

* lint fix

Signed-off-by: Curtis Mason <cumason@google.com>

* Samples image test server (#79)

* fixed none data issue

Signed-off-by: Curtis Mason <cumason@google.com>

* added none data test for marshalling

Signed-off-by: Curtis Mason <cumason@google.com>

* lint fix

Signed-off-by: Curtis Mason <cumason@google.com>

* added http server test in image sample

Signed-off-by: Curtis Mason <cumason@google.com>

* Removed print statements from test

Signed-off-by: Curtis Mason <cumason@google.com>

* removed requests from test

Signed-off-by: Curtis Mason <cumason@google.com>

* Top level http (#83)

* Modularized http and made http a top level module

Modularized the http directory by separating related functions into
different scripts. Also removed EventClass and kept a singular
CloudEvent. Finally, CloudEvent.__repr__ was refactored such that it
doesn't depend on external methods.

Signed-off-by: Curtis Mason <cumason@google.com>

* renamed requests.py to http_methods

Signed-off-by: Curtis Mason <cumason@google.com>

* lint fixes

Signed-off-by: Curtis Mason <cumason@google.com>

* http-json-cloudevents testing (#80)

* Added tests to http-json-cloudevents

Signed-off-by: Curtis Mason <cumason@google.com>

* removed outdated python-requests sample code

Signed-off-by: Curtis Mason <cumason@google.com>

* lint fix

Signed-off-by: Curtis Mason <cumason@google.com>

* Added flask to requirements

Signed-off-by: Curtis Mason <cumason@google.com>

* lint fix

Signed-off-by: Curtis Mason <cumason@google.com>

* docs: add README badge (#85)

Signed-off-by: Grant Timmerman <timmerman+devrel@google.com>

* added pypi-release rule (#87)

* added pypi-release rule

Signed-off-by: Curtis Mason <cumason@google.com>

* added RELEASING.md

Signed-off-by: Curtis Mason <cumason@google.com>

* Adjusted RELEASING.md

Signed-off-by: Curtis Mason <cumason@google.com>

* Update .github/workflows/pypi-release.yml

Co-authored-by: Dustin Ingram <di@users.noreply.github.com>
Signed-off-by: Curtis Mason <cumason@google.com>

* workflow pypi name changed

Signed-off-by: Curtis Mason <cumason@google.com>

* Update RELEASING.md

Co-authored-by: Dustin Ingram <di@users.noreply.github.com>
Signed-off-by: Curtis Mason <cumason@google.com>

* Update RELEASING.md

Co-authored-by: Dustin Ingram <di@users.noreply.github.com>
Signed-off-by: Curtis Mason <cumason@google.com>

* Update RELEASING.md

Co-authored-by: Dustin Ingram <di@users.noreply.github.com>
Signed-off-by: Curtis Mason <cumason@google.com>

* removed some pbr stuff

Signed-off-by: Curtis Mason <cumason@google.com>

* Removed all pbr stuff

Signed-off-by: Curtis Mason <cumason@google.com>

* README nits

Signed-off-by: Curtis Mason <cumason@google.com>

* RELEASING adjustment in README

Signed-off-by: Curtis Mason <cumason@google.com>

* author update in setup.cfg

Signed-off-by: Curtis Mason <cumason@google.com>

* removed setup.cfg

Signed-off-by: Curtis Mason <cumason@bu.edu>

* Update setup.py

Co-authored-by: Dustin Ingram <di@users.noreply.github.com>
Signed-off-by: Curtis Mason <cumason@bu.edu>

* lint fix

Signed-off-by: Curtis Mason <cumason@bu.edu>

Co-authored-by: Dustin Ingram <di@users.noreply.github.com>

* pypi-release git tags automation (#88)

* added pypi_packaging

Signed-off-by: Curtis Mason <cumason@bu.edu>

* reverted pypi-release

Signed-off-by: Curtis Mason <cumason@bu.edu>

* added pypi_package workflow

Signed-off-by: Curtis Mason <cumason@bu.edu>

* added gitpython dependency

Signed-off-by: Curtis Mason <cumason@bu.edu>

* added git import in createTag function

Signed-off-by: Curtis Mason <cumason@bu.edu>

* Updated RELEASING.md and implemented pypi_config in pypi_packaging.pg

Signed-off-by: Curtis Mason <cumason@bu.edu>
Signed-off-by: Curtis Mason <cumason@google.com>

* Fixed some docs

Signed-off-by: Curtis Mason <cumason@bu.edu>
Signed-off-by: Curtis Mason <cumason@google.com>

* Update .github/workflows/pypi-release.yml

Co-authored-by: Dustin Ingram <di@users.noreply.github.com>
Signed-off-by: Curtis Mason <cumason@google.com>

* added __version__

Signed-off-by: Curtis Mason <cumason@google.com>

* lint change

Signed-off-by: Curtis Mason <cumason@google.com>

* reinstalling cloudevents in workflow

Signed-off-by: Curtis Mason <cumason@google.com>

* added cloudevents to publish.txt

Signed-off-by: Curtis Mason <cumason@google.com>

* removed old release_doc

Signed-off-by: Curtis Mason <cumason@google.com>

Co-authored-by: Dustin Ingram <di@users.noreply.github.com>

Co-authored-by: Evan Anderson <evan.k.anderson@gmail.com>
Co-authored-by: Dustin Ingram <di@users.noreply.github.com>
Co-authored-by: Grant Timmerman <timmerman@google.com>
2020-08-10 19:47:10 -07:00
Denis Makogon 91224583c4 Initial release: CloudEvents Python SDK 0.0.1a0
Signed-off-by: Denis Makogon <lildee1991@gmail.com>
2018-11-19 11:52:09 +02:00