minos-python
Summary
[TODO]
Packages
minos-microservice-aggregateminos-microservice-commonminos-microservice-cqrsminos-microservice-networksminos-microservice-saga
Plugins
[TODO]
[TODO]
minos-microservice-aggregateminos-microservice-commonminos-microservice-cqrsminos-microservice-networksminos-microservice-saga[TODO]
Describe the bug i have set a model with
class Product(Base):
__tablename__ = 'product'
id = Column(Integer, primary_key=True)
uuid = Column(String(60))
name = Column(String(80))
description = Column(Text, nullable=True)
picture = Column(String(120), nullable=True)
price_id = Column(Integer, ForeignKey('price.id'))
price = relationship("Price", backref=backref("product", **uselist=False))
the command query receive the params from the request and put the name of the aggregate class route in name parameter
To Reproduce create a model with an attribute called name send as parameter the name to the POST do a GET
Additional context From the Tavern test suite i will get the following response
{'id': '1', 'uuid': '695c5b8e-b47f-4d55-9c60-addb2eb384da', 'name': 'src.aggregates.Product', 'description': 'Product One in our catalog', 'picture': 'images/product.jpeg', 'price_id': '1'}
bug
We have been facing an issue while downgrading packages within our Docker images related to AUTHORS.md not being found.
The problem is that the following pyproject configuration adds those files to the wheel distribution but outside the package itself.
If you download the wheel and take a look, they are outside of minos.
Another way to see the problem is by running pip -V and moving to the installation directory. The files are there among each other package.
Since the LICENSE already gets imported within the wheel distribution info and the other packages aren't actually important for distribution, I propose to delete that pyproject configuration.
Describe the bug
The Event have two method to retrieve the content:
get_one()and get_all()
those method are not descriptive of which kind os reason are used.
a propose to modify to:
get_attr()
and
get_attrs()
Issue by garciparedes
Monday Dec 13, 2021 at 11:28 GMT
Originally opened as https://github.com/Clariteia/minos_microservice_networks/issues/463
[TODO]
wontfix minos-microservice-networks rest Issue by garciparedes
Wednesday Oct 06, 2021 at 08:06 GMT
Originally opened as https://github.com/Clariteia/minos_microservice_aggregate/issues/7
None
wontfix models minos-microservice-aggregate Issue by garciparedes
Wednesday Sep 22, 2021 at 15:51 GMT
Originally opened as https://github.com/Clariteia/minos_microservice_aggregate/issues/6
Suppose and aggregate like Foo:
class Foo(Aggregate):
bar: str
async def validate(self) -> None:
return not Foo.exists_bar(self.bar)
@classmethod
async def exists_bar(cls, bar: str) -> bool:
try:
await cls.find(Condition.EQUAL("bar", bar)).__anext__()
return True
except StopAsyncIteration:
return False
If concurrent creation with same bar value is performed:
len([foo async for foo in Foo.find(Condition.EQUAL("bar", "example"))]) # 0
await gather(Foo.create("example"), Foo.create("example"))
len([foo async for foo in Foo.find(Condition.EQUAL("bar", "example"))]) # 2
Then, it could be possible that both validate calls are performed before storing any information on the database, so that when both of them call the find method, they do not obtain any instances, so both insertions seems fine, but when gather sentence finishes, more than one Foo instance with same "bar" value exists.
Issue by vladyslav-fenchak
Friday Aug 13, 2021 at 07:57 GMT
Originally opened as https://github.com/Clariteia/minos_microservice_common/issues/530
Example:
from minos.common import (
DeclarativeModel,
)
class Inventory(DeclarativeModel):
amount: int = 0
reserved: int = 0
sold: int = 0
Current error message:
self = <minos.common.model.serializers.avro_data_decoder.AvroDataDecoder object at 0x103a531f0>
type_field = <class 'int'>
data = <class 'minos.common.model.types.data_types.MissingSentinel'>
def _cast_single_value(self, type_field: Type, data: Any) -> Any:
if type_field is NoneType:
return self._cast_none_value(type_field, data)
if data is None:
raise MinosReqAttributeException(f"{self._name!r} field is '{None!r}'.")
if data is MissingSentinel:
> raise MinosReqAttributeException(f"{self._name!r} field is missing.")
> minos.common.exceptions.MinosReqAttributeException: 'reserved' field is missing.
enhancement wontfix nice to have minos-microservice-common
Issue by garciparedes
Monday May 10, 2021 at 13:09 GMT
Originally opened as https://github.com/Clariteia/minos_microservice_common/issues/193
The current MinosModel field typing is not compatible with the tuple type, which causes a big modelling issue in cases in which it's needed to define an unnamed type validation, such us tuple[str, int float] (the fields must have str, int and float types respectively.
Currently, there is a workaround to obtain a similar behaviour, combining the list + Union operators and writing as list[Union[str, int, float] but the obtained result is not strictly the same, because in this case there is not any ordering constraint nor any sequence-length constraint. In this case a [3, "foo", 4.35] is a valid value, but also a ["foo"] and [] are also fine according to that typing, so that it could carry future type checking errors or misconceptions.
For the above causes, I propose to extend the MinosModel type compatibility including the tuple.
┆Issue is synchronized with this ClickUp task by Unito
enhancement wontfix nice to have models minos-microservice-commonBumps coverage from 6.3.3 to 6.5.0.
Sourced from coverage's changelog.
Version 6.5.0 — 2022-09-29
The JSON report now includes details of which branches were taken, and which are missing for each file. Thanks, Christoph Blessing (
pull 1438). Closesissue 1425.Starting with coverage.py 6.2,
classstatements were marked as a branch. This wasn't right, and has been reverted, fixingissue 1449_. Note this will very slightly reduce your coverage total if you are measuring branch coverage.Packaging is now compliant with
PEP 517, closingissue 1395.A new debug option
--debug=pathmapshows details of the remapping of paths that happens during combine due to the[paths]setting.Fix an internal problem with caching of invalid Python parsing. Found by OSS-Fuzz, fixing their
bug 50381_... _bug 50381: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=50381 .. _PEP 517: https://peps.python.org/pep-0517/ .. _issue 1395: nedbat/coveragepy#1395 .. _issue 1425: nedbat/coveragepy#1425 .. _pull 1438: nedbat/coveragepy#1438 .. _issue 1449: nedbat/coveragepy#1449
.. _changes_6-4-4:
Version 6.4.4 — 2022-08-16
- Wheels are now provided for Python 3.11.
.. _changes_6-4-3:
Version 6.4.3 — 2022-08-06
Fix a failure when combining data files if the file names contained glob-like patterns (
pull 1405_). Thanks, Michael Krebs and Benjamin Schubert.Fix a messaging failure when combining Windows data files on a different drive than the current directory. (
pull 1430, fixingissue 1428). Thanks, Lorenzo Micò.Fix path calculations when running in the root directory, as you might do in
... (truncated)
0ac2453 docs: sample html report0954c85 build: prep for 6.5.095195b1 docs: changelog for json report branch details789f175 fix: keep negative arc valuesaabc540 feat: include branches taken and missed in JSON report. #1425a59fc44 docs: minor tweaks to db docsd296083 docs: add a note to the class-branch change7f07df6 chore: make upgrade6bc29a9 build: use the badge action coloringfd36918 fix: class statements shouldn't be branches. #1449Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebase will rebase this PR@dependabot recreate will recreate this PR, overwriting any edits that have been made to it@dependabot merge will merge this PR after your CI passes on it@dependabot squash and merge will squash and merge this PR after your CI passes on it@dependabot cancel merge will cancel a previously requested merge and block automerging@dependabot reopen will reopen this PR if it is closed@dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)Bumps coverage from 6.3.2 to 6.5.0.
Sourced from coverage's changelog.
Version 6.5.0 — 2022-09-29
The JSON report now includes details of which branches were taken, and which are missing for each file. Thanks, Christoph Blessing (
pull 1438). Closesissue 1425.Starting with coverage.py 6.2,
classstatements were marked as a branch. This wasn't right, and has been reverted, fixingissue 1449_. Note this will very slightly reduce your coverage total if you are measuring branch coverage.Packaging is now compliant with
PEP 517, closingissue 1395.A new debug option
--debug=pathmapshows details of the remapping of paths that happens during combine due to the[paths]setting.Fix an internal problem with caching of invalid Python parsing. Found by OSS-Fuzz, fixing their
bug 50381_... _bug 50381: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=50381 .. _PEP 517: https://peps.python.org/pep-0517/ .. _issue 1395: nedbat/coveragepy#1395 .. _issue 1425: nedbat/coveragepy#1425 .. _pull 1438: nedbat/coveragepy#1438 .. _issue 1449: nedbat/coveragepy#1449
.. _changes_6-4-4:
Version 6.4.4 — 2022-08-16
- Wheels are now provided for Python 3.11.
.. _changes_6-4-3:
Version 6.4.3 — 2022-08-06
Fix a failure when combining data files if the file names contained glob-like patterns (
pull 1405_). Thanks, Michael Krebs and Benjamin Schubert.Fix a messaging failure when combining Windows data files on a different drive than the current directory. (
pull 1430, fixingissue 1428). Thanks, Lorenzo Micò.Fix path calculations when running in the root directory, as you might do in
... (truncated)
0ac2453 docs: sample html report0954c85 build: prep for 6.5.095195b1 docs: changelog for json report branch details789f175 fix: keep negative arc valuesaabc540 feat: include branches taken and missed in JSON report. #1425a59fc44 docs: minor tweaks to db docsd296083 docs: add a note to the class-branch change7f07df6 chore: make upgrade6bc29a9 build: use the badge action coloringfd36918 fix: class statements shouldn't be branches. #1449Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebase will rebase this PR@dependabot recreate will recreate this PR, overwriting any edits that have been made to it@dependabot merge will merge this PR after your CI passes on it@dependabot squash and merge will squash and merge this PR after your CI passes on it@dependabot cancel merge will cancel a previously requested merge and block automerging@dependabot reopen will reopen this PR if it is closed@dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)Bumps coverage from 6.3.2 to 6.5.0.
Sourced from coverage's changelog.
Version 6.5.0 — 2022-09-29
The JSON report now includes details of which branches were taken, and which are missing for each file. Thanks, Christoph Blessing (
pull 1438). Closesissue 1425.Starting with coverage.py 6.2,
classstatements were marked as a branch. This wasn't right, and has been reverted, fixingissue 1449_. Note this will very slightly reduce your coverage total if you are measuring branch coverage.Packaging is now compliant with
PEP 517, closingissue 1395.A new debug option
--debug=pathmapshows details of the remapping of paths that happens during combine due to the[paths]setting.Fix an internal problem with caching of invalid Python parsing. Found by OSS-Fuzz, fixing their
bug 50381_... _bug 50381: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=50381 .. _PEP 517: https://peps.python.org/pep-0517/ .. _issue 1395: nedbat/coveragepy#1395 .. _issue 1425: nedbat/coveragepy#1425 .. _pull 1438: nedbat/coveragepy#1438 .. _issue 1449: nedbat/coveragepy#1449
.. _changes_6-4-4:
Version 6.4.4 — 2022-08-16
- Wheels are now provided for Python 3.11.
.. _changes_6-4-3:
Version 6.4.3 — 2022-08-06
Fix a failure when combining data files if the file names contained glob-like patterns (
pull 1405_). Thanks, Michael Krebs and Benjamin Schubert.Fix a messaging failure when combining Windows data files on a different drive than the current directory. (
pull 1430, fixingissue 1428). Thanks, Lorenzo Micò.Fix path calculations when running in the root directory, as you might do in
... (truncated)
0ac2453 docs: sample html report0954c85 build: prep for 6.5.095195b1 docs: changelog for json report branch details789f175 fix: keep negative arc valuesaabc540 feat: include branches taken and missed in JSON report. #1425a59fc44 docs: minor tweaks to db docsd296083 docs: add a note to the class-branch change7f07df6 chore: make upgrade6bc29a9 build: use the badge action coloringfd36918 fix: class statements shouldn't be branches. #1449Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebase will rebase this PR@dependabot recreate will recreate this PR, overwriting any edits that have been made to it@dependabot merge will merge this PR after your CI passes on it@dependabot squash and merge will squash and merge this PR after your CI passes on it@dependabot cancel merge will cancel a previously requested merge and block automerging@dependabot reopen will reopen this PR if it is closed@dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)Bumps black from 22.3.0 to 22.12.0.
Sourced from black's releases.
22.12.0
Preview style
- Enforce empty lines before classes and functions with sticky leading comments (#3302)
- Reformat empty and whitespace-only files as either an empty file (if no newline is present) or as a single newline character (if a newline is present) (#3348)
- Implicitly concatenated strings used as function args are now wrapped inside parentheses (#3307)
- Correctly handle trailing commas that are inside a line's leading non-nested parens (#3370)
Configuration
- Fix incorrectly applied
.gitignorerules by considering the.gitignorelocation and the relative path to the target file (#3338)- Fix incorrectly ignoring
.gitignorepresence when more than one source directory is specified (#3336)Parser
- Parsing support has been added for walruses inside generator expression that are passed as function args (for example,
any(match := my_re.match(text) for text in texts)) (#3327).Integrations
- Vim plugin: Optionally allow using the system installation of Black via
let g:black_use_virtualenv = 0(#3309)22.10.0
Highlights
- Runtime support for Python 3.6 has been removed. Formatting 3.6 code will still be supported until further notice.
Stable style
- Fix a crash when
# fmt: onis used on a different block level than# fmt: off(#3281)Preview style
... (truncated)
Sourced from black's changelog.
22.12.0
Preview style
- Enforce empty lines before classes and functions with sticky leading comments (#3302)
- Reformat empty and whitespace-only files as either an empty file (if no newline is present) or as a single newline character (if a newline is present) (#3348)
- Implicitly concatenated strings used as function args are now wrapped inside parentheses (#3307)
- For assignment statements, prefer splitting the right hand side if the left hand side fits on a single line (#3368)
- Correctly handle trailing commas that are inside a line's leading non-nested parens (#3370)
Configuration
- Fix incorrectly applied
.gitignorerules by considering the.gitignorelocation and the relative path to the target file (#3338)- Fix incorrectly ignoring
.gitignorepresence when more than one source directory is specified (#3336)Parser
- Parsing support has been added for walruses inside generator expression that are passed as function args (for example,
any(match := my_re.match(text) for text in texts)) (#3327).Integrations
- Vim plugin: Optionally allow using the system installation of Black via
let g:black_use_virtualenv = 0(#3309)22.10.0
Highlights
- Runtime support for Python 3.6 has been removed. Formatting 3.6 code will still be supported until further notice.
Stable style
- Fix a crash when
# fmt: onis used on a different block level than# fmt: off
... (truncated)
2ddea29 Prepare release 22.12.0 (#3413)5b1443a release: skip bad macos wheels for now (#3411)9ace064 Bump peter-evans/find-comment from 2.0.1 to 2.1.0 (#3404)19c5fe4 Fix CI with latest flake8-bugbear (#3412)d4a8564 Bump sphinx-copybutton from 0.5.0 to 0.5.1 in /docs (#3390)2793249 Wordsmith current_style.md (#3383)d97b789 Remove whitespaces of whitespace-only files (#3348)c23a5c1 Clarify that Black runs with --safe by default (#3378)8091b25 Correctly handle trailing commas that are inside a line's leading non-nested ...ffaaf48 Compare each .gitignore found with an appropiate relative path (#3338)Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebase will rebase this PR@dependabot recreate will recreate this PR, overwriting any edits that have been made to it@dependabot merge will merge this PR after your CI passes on it@dependabot squash and merge will squash and merge this PR after your CI passes on it@dependabot cancel merge will cancel a previously requested merge and block automerging@dependabot reopen will reopen this PR if it is closed@dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)Bumps coverage from 6.3.2 to 7.0.1.
Sourced from coverage's changelog.
Version 7.0.1 — 2022-12-23
When checking if a file mapping resolved to a file that exists, we weren't considering files in .whl files. This is now fixed, closing
issue 1511_.File pattern rules were too strict, forbidding plus signs and curly braces in directory and file names. This is now fixed, closing
issue 1513_.Unusual Unicode or control characters in source files could prevent reporting. This is now fixed, closing
issue 1512_.The PyPy wheel now installs on PyPy 3.7, 3.8, and 3.9, closing
issue 1510_... _issue 1510: nedbat/coveragepy#1510 .. _issue 1511: nedbat/coveragepy#1511 .. _issue 1512: nedbat/coveragepy#1512 .. _issue 1513: nedbat/coveragepy#1513
.. _changes_7-0-0:
Version 7.0.0 — 2022-12-18
Nothing new beyond 7.0.0b1.
.. _changes_7-0-0b1:
Version 7.0.0b1 — 2022-12-03
A number of changes have been made to file path handling, including pattern matching and path remapping with the
[paths]setting (see :ref:config_paths). These changes might affect you, and require you to update your settings.(This release includes the changes from
6.6.0b1 <changes_6-6-0b1_>_, since 6.6.0 was never released.)
Changes to file pattern matching, which might require updating your configuration:
Previously,
*would incorrectly match directory separators, making precise matching difficult. This is now fixed, closingissue 1407_.Now
**matches any number of nested directories, including none.Improvements to combining data files when using the
... (truncated)
c5cda3a docs: releases take a little bit longer now9d4226e docs: latest sample HTML report8c77758 docs: prep for 7.0.1da1b282 fix: also look into .whl files for sourced327a70 fix: more information when mapping rules aren't working right.35e249f fix: certain strange characters caused reporting to fail. #1512152cdc7 fix: don't forbid plus signs in file names. #151331513b4 chore: make upgrade873b059 test: don't run tests on Windows PyPy-3.95c5caa2 build: PyPy wheel now installs on 3.7, 3.8, and 3.9. #1510Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebase will rebase this PR@dependabot recreate will recreate this PR, overwriting any edits that have been made to it@dependabot merge will merge this PR after your CI passes on it@dependabot squash and merge will squash and merge this PR after your CI passes on it@dependabot cancel merge will cancel a previously requested merge and block automerging@dependabot reopen will reopen this PR if it is closed@dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)Bumps coverage from 6.3.3 to 7.0.1.
Sourced from coverage's changelog.
Version 7.0.1 — 2022-12-23
When checking if a file mapping resolved to a file that exists, we weren't considering files in .whl files. This is now fixed, closing
issue 1511_.File pattern rules were too strict, forbidding plus signs and curly braces in directory and file names. This is now fixed, closing
issue 1513_.Unusual Unicode or control characters in source files could prevent reporting. This is now fixed, closing
issue 1512_.The PyPy wheel now installs on PyPy 3.7, 3.8, and 3.9, closing
issue 1510_... _issue 1510: nedbat/coveragepy#1510 .. _issue 1511: nedbat/coveragepy#1511 .. _issue 1512: nedbat/coveragepy#1512 .. _issue 1513: nedbat/coveragepy#1513
.. _changes_7-0-0:
Version 7.0.0 — 2022-12-18
Nothing new beyond 7.0.0b1.
.. _changes_7-0-0b1:
Version 7.0.0b1 — 2022-12-03
A number of changes have been made to file path handling, including pattern matching and path remapping with the
[paths]setting (see :ref:config_paths). These changes might affect you, and require you to update your settings.(This release includes the changes from
6.6.0b1 <changes_6-6-0b1_>_, since 6.6.0 was never released.)
Changes to file pattern matching, which might require updating your configuration:
Previously,
*would incorrectly match directory separators, making precise matching difficult. This is now fixed, closingissue 1407_.Now
**matches any number of nested directories, including none.Improvements to combining data files when using the
... (truncated)
c5cda3a docs: releases take a little bit longer now9d4226e docs: latest sample HTML report8c77758 docs: prep for 7.0.1da1b282 fix: also look into .whl files for sourced327a70 fix: more information when mapping rules aren't working right.35e249f fix: certain strange characters caused reporting to fail. #1512152cdc7 fix: don't forbid plus signs in file names. #151331513b4 chore: make upgrade873b059 test: don't run tests on Windows PyPy-3.95c5caa2 build: PyPy wheel now installs on 3.7, 3.8, and 3.9. #1510Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebase will rebase this PR@dependabot recreate will recreate this PR, overwriting any edits that have been made to it@dependabot merge will merge this PR after your CI passes on it@dependabot squash and merge will squash and merge this PR after your CI passes on it@dependabot cancel merge will cancel a previously requested merge and block automerging@dependabot reopen will reopen this PR if it is closed@dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)Bumps isort from 5.10.1 to 5.11.4.
Sourced from isort's releases.
5.11.4
Changes
- Remove obsolete
tomlimport from the test suite (#1978)@mgorny- Stop installing documentation files to top-level site-packages (#2057)
@mgorny- Only run release workflows for upstream (#2052)
@hugovk:package: Dependencies
- Bump Poetry 1.3.1 (#2058)
@staticdev5.11.3
Changes
- Renable portray (#2043)
@timothycrosley- chore(ci): add minimum GitHub token permissions for workflows (#1969)
@varunsh-coder:beetle: Fixes
- Fix packaging pypoetry (#2042)
@staticdev- Fix settings for py3.11 (#2040)
@staticdev:construction_worker: Continuous Integration
- General CI improvements (#2041)
@staticdev- Add release workflow (#2026)
@staticdevv5.11.3
Changes
- Renable portray (#2043)
@timothycrosley- chore(ci): add minimum GitHub token permissions for workflows (#1969)
@varunsh-coder:beetle: Fixes
- Fix packaging pypoetry (#2042)
@staticdev- Fix settings for py3.11 (#2040)
@staticdev:construction_worker: Continuous Integration
- General CI improvements (#2041)
@staticdev- Add release workflow (#2026)
@staticdev5.11.2
Changes
5.11.1
Changes December 12 2022
... (truncated)
Sourced from isort's changelog.
5.11.4 December 21 2022
- Fixed #2038 (again): stop installing documentation files to top-level site-packages (#2057)
@mgorny- CI: only run release workflows for upstream (#2052)
@hugovk- Tests: remove obsolete toml import from the test suite (#1978)
@mgorny- CI: bump Poetry 1.3.1 (#2058)
@staticdev5.11.3 December 16 2022
- Fixed #2007: settings for py3.11 (#2040)
@staticdev- Fixed #2038: packaging pypoetry (#2042)
@staticdev- Docs: renable portray (#2043)
@timothycrosley- Ci: add minimum GitHub token permissions for workflows (#1969)
@varunsh-coder- Ci: general CI improvements (#2041)
@staticdev- Ci: add release workflow (#2026)
@staticdev5.11.2 December 12 2022
- Hotfix #2034: isort --version is not accurate on 5.11.x releases (#2034)
@gschaffner5.11.1 December 12 2022
- Hotfix #2031: only call
colorama.initifcoloramais available (#2032)@tomaarsen5.11.0 December 12 2022
- Added official support for Python 3.11 (#1996, #2008, #2011)
@staticdev- Dropped support for Python 3.6 (#2019)
@barrelful- Fixed problematic tests (#2021, #2022)
@staticdev- Fixed #1960: Rich compatibility (#1961)
@ofek- Fixed #1945, #1986: Python 4.0 upper bound dependency resolving issues
@staticdev- Fixed Pyodide CDN URL (#1991)
@andersk- Docs: clarify description of use_parentheses (#1941)
@mgedmin- Fixed #1976:
blackcompatibility for.pyifiles@XuehaiPan- Implemented #1683: magic trailing comma option (#1876)
@legau- Add missing space in unrecoverable exception message (#1933)
@andersk- Fixed #1895: skip-gitignore: use allow list, not deny list
@bmalehorn- Fixed #1917: infinite loop for unmatched parenthesis (#1919)
@anirudnits- Docs: shared profiles (#1896)
@matthewhughes934- Fixed build-backend values in the example plugins (#1892)
@mgorny- Remove reference to jamescurtin/isort-action (#1885)
@AndrewLane- Split long cython import lines (#1931)
@davidcollins001- Update plone profile: copy of
black, plus three settings. (#1926)@mauritsvanrees- Fixed #1815, #1862: Add a command-line flag to sort all re-exports (#1863)
@parafoxia- Fixed #1854:
lines_before_importsappending lines after comments (#1861)@legau- Remove redundant
multi_line_output = 3from "Compatibility with black" (#1858)@jdufresne- Add tox config example (#1856)
@umonaca- Docs: add examples for frozenset and tuple settings (#1822)
@sgaist- Docs: add multiple config documentation (#1850)
@anirudnits
98390f5 Merge pull request #2059 from PyCQA/version/5.11.4df69a05 Bump version 5.11.4f9add58 Merge pull request #2058 from PyCQA/deps/poetry-1.3.136caa91 Bump Poetry 1.3.13c2e2d0 Merge pull request #1978 from mgorny/toml-test45d6abd Remove obsolete toml import from the test suite3020e0b Merge pull request #2057 from mgorny/poetry-installa6fdbfd Stop installing documentation files to top-level site-packagesff306f8 Fix tag template to match old standard227c4ae Merge pull request #2052 from hugovk/mainDependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebase will rebase this PR@dependabot recreate will recreate this PR, overwriting any edits that have been made to it@dependabot merge will merge this PR after your CI passes on it@dependabot squash and merge will squash and merge this PR after your CI passes on it@dependabot cancel merge will cancel a previously requested merge and block automerging@dependabot reopen will reopen this PR if it is closed@dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)Bumps orjson from 3.6.8 to 3.8.3.
Sourced from orjson's releases.
3.8.3
Fixed
orjson.dumps()acceptsoption=NoneperOptional[int]type.3.8.2
Fixed
- Fix tests on 32-bit for
numpy.intpandnumpy.uintp.Changed
- Build now depends on rustc 1.60 or later.
- Support building with maturin 0.13 or 0.14.
3.8.1
Changed
- Build maintenance for Python 3.11.
3.8.0
Changed
- Support serializing
numpy.int16andnumpy.uint16.3.7.12
Fixed
- Fix datetime regression tests with tzinfo 2022b.
Changed
- Improve performance.
3.7.11
Fixed
- Revert
dictiterator implementation introduced in 3.7.9.3.7.10
Fixed
- Fix serializing
dictwith deleted final item. This was introduced in 3.7.9.3.7.9
Changed
- Improve performance of serializing.
- Improve performance of serializing pretty-printed (
orjson.OPT_INDENT_2) to be much nearer to compact.
... (truncated)
Sourced from orjson's changelog.
3.8.3 - 2022-12-02
orjson.dumps()acceptsoption=NoneperOptional[int]type.3.8.2 - 2022-11-20
Fixed
- Fix tests on 32-bit for
numpy.intpandnumpy.uintp.Changed
- Build now depends on rustc 1.60 or later.
- Support building with maturin 0.13 or 0.14.
3.8.1 - 2022-10-25
Changed
- Build maintenance for Python 3.11.
3.8.0 - 2022-08-27
Changed
- Support serializing
numpy.int16andnumpy.uint16.3.7.12 - 2022-08-14
Fixed
- Fix datetime regression tests for tzinfo 2022b.
Changed
- Improve performance.
3.7.11 - 2022-07-31
Fixed
- Revert
dictiterator implementation introduced in 3.7.9.3.7.10 - 2022-07-30
Fixed
- Fix serializing
dictwith deleted final item. This was introduced in 3.7.9.3.7.9 - 2022-07-29
... (truncated)
45ad4a4 3.8.36c28b9b Support option=None per Optional[int]8a97cb7 cargo updatea0b7a50 3.8.225ae034 numpy pointer tests 32-bit compatibilityf50b6bf numpy dtype tests on equivalent output with tolist()1c51807 cargo update, build maintenance, require rustc 1.605ebfd5f 3.8.12b421ad cargo update, build maintenancefe1e0c8 3.8.0Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebase will rebase this PR@dependabot recreate will recreate this PR, overwriting any edits that have been made to it@dependabot merge will merge this PR after your CI passes on it@dependabot squash and merge will squash and merge this PR after your CI passes on it@dependabot cancel merge will cancel a previously requested merge and block automerging@dependabot reopen will reopen this PR if it is closed@dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)Bumps black from 22.3.0 to 22.12.0.
Sourced from black's releases.
22.12.0
Preview style
- Enforce empty lines before classes and functions with sticky leading comments (#3302)
- Reformat empty and whitespace-only files as either an empty file (if no newline is present) or as a single newline character (if a newline is present) (#3348)
- Implicitly concatenated strings used as function args are now wrapped inside parentheses (#3307)
- Correctly handle trailing commas that are inside a line's leading non-nested parens (#3370)
Configuration
- Fix incorrectly applied
.gitignorerules by considering the.gitignorelocation and the relative path to the target file (#3338)- Fix incorrectly ignoring
.gitignorepresence when more than one source directory is specified (#3336)Parser
- Parsing support has been added for walruses inside generator expression that are passed as function args (for example,
any(match := my_re.match(text) for text in texts)) (#3327).Integrations
- Vim plugin: Optionally allow using the system installation of Black via
let g:black_use_virtualenv = 0(#3309)22.10.0
Highlights
- Runtime support for Python 3.6 has been removed. Formatting 3.6 code will still be supported until further notice.
Stable style
- Fix a crash when
# fmt: onis used on a different block level than# fmt: off(#3281)Preview style
... (truncated)
Sourced from black's changelog.
22.12.0
Preview style
- Enforce empty lines before classes and functions with sticky leading comments (#3302)
- Reformat empty and whitespace-only files as either an empty file (if no newline is present) or as a single newline character (if a newline is present) (#3348)
- Implicitly concatenated strings used as function args are now wrapped inside parentheses (#3307)
- For assignment statements, prefer splitting the right hand side if the left hand side fits on a single line (#3368)
- Correctly handle trailing commas that are inside a line's leading non-nested parens (#3370)
Configuration
- Fix incorrectly applied
.gitignorerules by considering the.gitignorelocation and the relative path to the target file (#3338)- Fix incorrectly ignoring
.gitignorepresence when more than one source directory is specified (#3336)Parser
- Parsing support has been added for walruses inside generator expression that are passed as function args (for example,
any(match := my_re.match(text) for text in texts)) (#3327).Integrations
- Vim plugin: Optionally allow using the system installation of Black via
let g:black_use_virtualenv = 0(#3309)22.10.0
Highlights
- Runtime support for Python 3.6 has been removed. Formatting 3.6 code will still be supported until further notice.
Stable style
- Fix a crash when
# fmt: onis used on a different block level than# fmt: off
... (truncated)
2ddea29 Prepare release 22.12.0 (#3413)5b1443a release: skip bad macos wheels for now (#3411)9ace064 Bump peter-evans/find-comment from 2.0.1 to 2.1.0 (#3404)19c5fe4 Fix CI with latest flake8-bugbear (#3412)d4a8564 Bump sphinx-copybutton from 0.5.0 to 0.5.1 in /docs (#3390)2793249 Wordsmith current_style.md (#3383)d97b789 Remove whitespaces of whitespace-only files (#3348)c23a5c1 Clarify that Black runs with --safe by default (#3378)8091b25 Correctly handle trailing commas that are inside a line's leading non-nested ...ffaaf48 Compare each .gitignore found with an appropiate relative path (#3338)Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebase will rebase this PR@dependabot recreate will recreate this PR, overwriting any edits that have been made to it@dependabot merge will merge this PR after your CI passes on it@dependabot squash and merge will squash and merge this PR after your CI passes on it@dependabot cancel merge will cancel a previously requested merge and block automerging@dependabot reopen will reopen this PR if it is closed@dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)PostgreSqlEventRepository as DatabaseEventRepository.EventDatabaseOperationFactory as the abstract class to be implemented by database clients.PostgreSqlSnapshotQueryBuilder to the minos-database-aiopg package.PostgreSqlSnapshotRepository as DatabaseSnapshotRepository.SnapshotDatabaseOperationFactory as the abstract class to be implemented by database clients.PostgreSqlSnapshotReader, PostgreSqlSnapshotSetup and PostgreSqlSnapshotWriter.PostgreSqlTransactionRepository as DatabaseTransactionRepository.TransactionDatabaseOperationFactory as the abstract class to be implemented by database clients.minos-python packages.AUTHORS.md, HISTORY.md, etc.DatabaseClient, DatabaseClientBuilder as the base client to execute operation over a database and the builder class.PostgreSqlPool as DatabaseClientPool.DatabaseOperation, ComposedDatabaseOperation and DatabaseOperationFactory as the classes to build operations to be executed over the database.ConnectionException, DatabaseClientException, IntegrityException, ProgrammingException as the base exceptions to be raised by the DatabaseClient.PostgreSqlLock and PostgreSqlLockPool as DatabaseLock and DatabaseLockPool.PostgreSqlMinosDatabase as DatabaseMixin.LockDatabaseOperationFactory as the base operation factory for locking operations.ManagementDatabaseOperationFactory as the base operation factory for management operations (creation, deletion, etc.).TypeHintParser to unify ModelType's type hints.PoolException as the base exception for pools.PoolFactory as the class with the purpose to build and manage Pool instances.MinosStorage and move MinosStorageLmdb to the minos-database-lmdb package.minos-python packages.AUTHORS.md, HISTORY.md, etc.minos-python packages.AUTHORS.md, HISTORY.md, etc.PostgreSqlBrokerPublisherQueue as DatabaseBrokerPublisherQueue.PostgreSqlBrokerPublisherQueueQueryFactory as BrokerPublisherQueueDatabaseOperationFactory.PostgreSqlBrokerQueue as DatabaseBrokerQueue.PostgreSqlBrokerQueueBuilder as DatabaseBrokerQueueBuilder.PostgreSqlBrokerSubscriberDuplicateValidator as DatabaseBrokerSubscriberDuplicateValidator.PostgreSqlBrokerSubscriberDuplicateValidatorBuilder as DatabaseBrokerSubscriberDuplicateValidatorBuilder.PostgreSqlBrokerSubscriberDuplicateValidatorQueryFactory as BrokerSubscriberDuplicateValidatorDatabaseOperationFactory.PostgreSqlBrokerSubscriberQueue as DatabaseBrokerSubscriberQueue.PostgreSqlBrokerSubscriberQueueBuilder as DatabaseBrokerSubscriberQueueBuilder.PostgreSqlBrokerSubscriberQueueQueryFactory as BrokerSubscriberQueueDatabaseOperationFactory.Builder to the minos-microservice-common package.minos-python packages.AUTHORS.md, HISTORY.md, etc.SagaExecutionStorage as SagaExecutionRepository.DatabaseSagaExecutionRepository as the implementation of the SagaExecutionRepository over a database.SagaExecutionDatabaseOperationFactory as the base operation factory to store saga executions.minos-python packages.AUTHORS.md, HISTORY.md, etc.InMemoryQueuedKafkaBrokerPublisher, PostgreSqlQueuedKafkaBrokerPublisher, InMemoryQueuedKafkaBrokerSubscriberBuilder and PostgreSqlQueuedKafkaBrokerSubscriberBuilder in favor of the use of minos.networks.BrokerPublisherBuilder and minos.networks.BrokerSubscriberBuilder.minos-python packages.AUTHORS.md, HISTORY.md, etc.minos-python packages.AUTHORS.md, HISTORY.md, etc.AiopgDatabaseClient as the minos.common.DatabaseClient implementation for postgres.AiopgDatabaseOperation as the minos.common.DatabaseOperation implementation for postgres.AiopgLockDatabaseOperationFactory as the minos.common.LockDatabaseOperationFactory implementation for postgres.AiopgManagementDatabaseOperationFactory as the minos.common.ManagementDatabaseOperationFactory implementation for postgres.AiopgBrokerPublisherQueueDatabaseOperationFactory as the minos.networks.BrokerPublisherQueueDatabaseOperationFactory implementation for postgres.AiopgBrokerQueueDatabaseOperationFactory as the minos.networks.BrokerQueueDatabaseOperationFactory implementation for postgres.AiopgBrokerSubscriberDuplicateValidatorDatabaseOperationFactory as the minos.networks.BrokerSubscriberDuplicateValidatorDatabaseOperationFactory implementation for postgres.AiopgBrokerSubscriberQueueDatabaseOperationFactory as the minos.networks.BrokerSubscriberQueueDatabaseOperationFactory implementation for postgres.AiopgEventDatabaseOperationFactory as the minos.aggregate.EventDatabaseOperationFactory implementation for postgres.AiopgSnapshotDatabaseOperationFactory as the minos.aggregate.SnapshotDatabaseOperationFactory implementation for postgres.AiopgSnapshotQueryDatabaseOperationBuilder to ease the complex snapshot's query building for postgres.AiopgTransactionDatabaseOperationFactory as the minos.aggregate.TransactionDatabaseOperationFactory implementation for postgres.LmdbDatabaseClient as the minos.common.DatabaseClient implementation for lmdb.LmdbDatabaseOperation and LmdbDatabaseOperationType classes to define minos.common.DatabaseOperations compatible with the lmdb database.LmdbSagaExecutionDatabaseOperationFactory as the minos.saga.SagaExecutionDatabaseOperationFactory implementation for lmdb.KongClient as a class to interact with the kong API Gateway.KongDiscoveryClient as the minos.networks.DiscoveryClient implementation for the kong API Gateway.middleware function to automatically extract the user identifier from request's header variable set by the kong API Gateway.minos-python packages.AUTHORS.md, HISTORY.md, etc.AioHttpRequest's headers attribute is mutable.minos-python packages.AUTHORS.md, HISTORY.md, etc.minos-python packages.AUTHORS.md, HISTORY.md, etc.pyproject.toml:
minos-database-aiopgminos-database-lmdbconfig.yml:
client to database-releated sections:
default, repository, snapshot, broker, etc. add: client: minos.plugins.aiopg.AiopgDatabaseClientsaga or saga.storage add: client: minos.plugins.lmdb.LmdbDatabaseClientminos.common.PostgreSqlMinosDatabase -> minos.common.DatabaseMixinminos.common.PostgreSqlLockPool -> minos.common.DatabaseLockPoolminos.common.PostgreSqlPool -> minos.common.DatabaseClientPoolminos.networks.PostgreSqlBrokerPublisherQueue -> minos.networks.DatabaseBrokerPublisherQueueminos.networks.PostgreSqlBrokerSubscriberQueue -> minos.networks.DatabaseBrokerSubscriberQueueminos.networks.PostgreSqlBrokerSubscriberDuplicateValidator -> minos.networks.DatabaseBrokerSubscriberDuplicateValidatorminos.aggregate.PostgreSqlTransactionRepository -> minos.aggregate.DatabaseTransactionRepositoryminos.aggregate.PostgreSqlEventRepository -> minos.aggregate.DatabaseEventRepositoryminos.aggregate.PostgreSqlSnapshotRepository -> minos.aggregate.DatabaseSnapshotRepositoryminos.plugins.kafka.InMemoryQueuedKafkaBrokerPublisher -> minos.plugins.kafka.KafkaBrokerPublisherminos.plugins.kafka.InMemoryQueuedKafkaBrokerSubscriberBuilder -> minos.plugins.kafka.KafkaBrokerSubscriberBuilderminos.plugins.kafka.PostgreSqlQueuedKafkaBrokerPublisher -> minos.plugins.kafka.KafkaBrokerPublisherminos.plugins.kafka.PostgreSqlQueuedKafkaBrokerSubscriberBuilder -> minos.plugins.kafka.KafkaBrokerSubscriberBuilderKafkaBrokerSubscriber's destroying process.dependency-injector's injection classes by the ones provided by the minos.common.injections module.minos.common.Config API.Config with support for config versioning.ConfigV1 as the class that supports the V1 config file.ConfigV2 as the class that supports the V1 config file.MinosConfig in favor of Config.get_internal_modules function.Injectable decorator to provide a way to set a class as injectable.InjectableMixin class that provides the necessary methods to be injectable.Inject decorator to provide a way to inject variables on functions based on types.LockPool base class as the base class for lock pools.Object base class with the purpose to avoid issues related with multi-inheritance and mixins.Port base class as the base class for ports.CircuitBreakerMixin class to provide circuit breaker functionalities.SetupMixin class as a replacement of the MinosSetup class.dependency-injector's injection classes by the ones provided by the minos.common.injections module.minos.common.Config API.BrokerPort class and deprecate BrokerHandlerService.BrokerPublisherBuilder to ease the building of BrokerPublisher instances.FilteredBrokerSubscriber implemented as a Chain-of-Responsibility Design Pattern to be able to filter BrokerMessage instances during subscription.BrokerSubscriberValidator and BrokerSubscriberDuplicateValidator base classes and the InMemoryBrokerSubscriberDuplicateValidator and PostgreSqlBrokerSubscriberDuplicateValidator implementations.EnrouteAnalyzer as EnrouteCollector.EnrouteBuilder as EnrouteFactory.HttpEnrouteDecorator.KongDiscoveryClient class (there are plans to re-include it as an external plugin in the future).HttpConnector as the base class that connects to the http server.HttpAdapter as the class that coordinates HttpRouter instances.HttpPort class and deprecate RestService.HttpRequest, HttpResponse and HttpResponseException as request/response wrappers of the http server.Router, HttpRouter, RestHttpRouter, BrokerRouter and PeriodicRouter as the classes that route requests to the corresponding services' handling functionsPeriodicPort class and deprecate PeriodicTaskSchedulerService.CronTab class to support "@reboot" pattern.OpenAPIService and AsynAPIService classes as the services that provide openapi and asynciapi specifications of the microservice.SystemService as the service that implements System Health checker.dependency-injector's injection classes by the ones provided by the minos.common.injections module.minos.common.Config API.dependency-injector's injection classes by the ones provided by the minos.common.injections module.minos.common.Config API.KafkaCircuitBreakerMixin to integrate minos.common.CircuitBreakerMixin into the KafkaBrokerPublisher and KafkaBrokerSubscriber classes to be tolerant to connection failures to kafka.KafkaBrokerPublisherBuilder and KafkaBrokerBuilderMixin classes to ease the building process.RabbitMQBrokerPublisher as the implementation of the rabbitmq publisher.RabbitMQBrokerSubscriber as the implementation of the rabbitmq subscriber.RabbitMQBrokerPublisherBuilder, RabbitMQBrokerSubscriberBuilder and RabbitMQBrokerBuilderMixin classes to ease the building process.minos.common.CircuitBreakerMixin into the MinosDiscoveryClient to be tolerant to connection failures to minos-discovery.AioHttpConnector as the implementation of the aiohttp server.AioHttpRequest, AioHttpResponse and AioHttpResponseException classes as the request/response wrappers for aiohttp.GraphQLSchemaBuilder to build the graphql's schema.GraphQlHandler class to handle graphql requests.GraphQlHttpRouter class to route http request to graphql.GraphQlEnroute, GraphQlEnrouteDecorator, GraphQlCommandEnrouteDecorator and GraphQlQueryEnrouteDecorator decorators.@Injectable decorator to classes that injections:from minos.common import Injectable
@Injectable("THE_INJECTION_NAME")
class MyInjectableClass:
...
minos-http-aiohttp package:poetry add minos-http-aiohttp@^0.6
HttpConnector instance to service.injections section of config.yml file:...
service:
injections:
http_connector: minos.plugins.aiohttp.AioHttpConnector
...
...
...
routers section to config.yml file:...
routers:
- minos.networks.BrokerRouter
- minos.networks.PeriodicRouter
- minos.networks.RestHttpRouter
...
minos.common.Config usages according to the new provided API:
config.query_repository._asdict(), that must be transformed to config.get_database_by_name("query")Ref.resolve.RefResolver.build_topic_name static method.SnapshotService.__get_one__ method.RefException to be raised when some reference cannot be resolved.Ref, Event and FieldDiffContainerEvent.get_one in favor of Event.get_field.Event.get_all in favor of Event.get_fields.TypeHintComparator.Model.dict to Model instances on field setters.resolve_references: bool default value to False defined at PreEventHandler.handle.PreEventHandler.BrokerDispatcher, RestHandler and PeriodicTask.SagaContext.Condition.LIKE operator to be used with the find method from SnapshotRepository.get_all method to RootEntity and SnapshotRepository to get all the stored instance on the repository.SnapshotService command topics to avoid collisions with application-level topics.TransactionService command topics to avoid collisions with application-level topics.query_repository section to MinosConfig.MinosRedefinedEnrouteDecoratorException was not raised.minos-microservice-aggregate~=0.5.2.Aggregate as RootEntity.AggregateRef as ExternalEntity.ModelRef as Ref.AggregateDiff as Event.Aggregate base class, with the purpose to move the business logic from the minos.cqrs.CommandService to this brand-new class.kafka related code to the minos-broker-kafka plugin.minos-discovery related code to the minos-discovery-minos plugin.PostgreSqlQueuedKafkaBrokerPublisher from minos-microservice-networks.InMemoryQueuedKafkaBrokerPublisher from minos-microservice-networks.KafkaBrokerPublisher from minos-microservice-networks.KafkaBrokerSubscriber from minos-microservice-networks.KafkaBrokerSubscriberBuilder from minos-microservice-networks.PostgreSqlQueuedKafkaBrokerSubscriberBuilder from minos-microservice-networks.InMemoryQueuedKafkaBrokerSubscriberBuilder from minos-microservice-networks.MinosDiscoveryClient from minos-microservice-networks.README.md.README.md.README.md.README.md.README.md.minos-microservice-common~=0.4.0.minos-microservice-networks~=0.4.0.minos.common.MinosPool acquired instances.minos-microservice-common~=0.4.0.minos-microservice-aggregate~=0.4.0.minos-microservice-networks~=0.4.0.BrokerDispatcher to break the direct relationship between BrokerHandler and BrokerPublisher.content_type argument to RestResponse's constructor to be able to retrieve the result in a format other than json.BrokerMessage and implement the BrokerMessageV1 and BrokerMessageV1Payload to be able to work with different microservice versions in the future.BrokerPublisher.send method to follow the (message: BrokerMessage) -> None prototype instead of a big list of arguments referred to the messages attributes.brokers.publishers module.
BrokerPublisher base class with a send(message: BrokerMessage) -> Awaitable[None] method.BrokerPublisherQueue base class with an enqueue(message: BrokerMessage) -> Awaitable[None] and a dequeue() -> Awaitable[BrokerMessage] methods.KafkaBrokerPublisher as the kafka's implementation of the publisher.PostgreSqlBrokerPublisherQueue as the postgres implementation of the publisher's message queue.brokers.handlers.
BrokerSubscriber base class with a receive() -> Awaitable[BrokerMessage] method.BrokerSubscriberQueue base class with an enqueue(message: BrokerMessage) -> Awaitable[None] and a dequeue() -> Awaitable[BrokerMessage] methods.KafkaBrokerSubscriber as the kafka's implementation of the subscriber.PostgreSqlBrokerSubscriberQueue as the postgres implementation of the subscriber's message queue.DynamicBroker and DynamicBrokerPool as BrokerClient and BrokerClientPool. The new BrokerClient has a send(message: BrokerMessage) -> Awaitable[None] method for sending messages and a receive() -> Awaitable[BrokerMessage] to receive them.BrokerPublisherminos-microservice-common~=0.4.0.minos-microservice-common~=0.4.0.minos-microservice-aggregate~=0.4.0.minos-microservice-networks~=0.4.0.PBN Obfuscator PBN Obfuscator is a overpowered obfuscator for python, which will
Calculator Contributors: Delitanast An official website. Information Hello! I am Damir. It`s my first Python project. I think you want see this. I imp
PyDy, short for Python Dynamics, is a tool kit written in the Python programming language that utilizes an array of scientific programs to enable the study of multibody dynamics. The goal is to have
The Diff Match and Patch libraries offer robust algorithms to perform the operations required for synchronizing plain text. Diff: Compare two blocks o
Annotating "hypothetical" proteins with the PDB See config/ for configuration information. This workflow takes as input a set of protein sequences. It
foundrycli.py ( 🔥 , 🐍 ) foundrycli.py is a Python library I've made for personal use; now open source. It lets you access forge and cast CLIs from P
ev_charging_calculator Flask-built web application that simulates a time and cost calculator for charging Electric Vehicles. The project aims to simul
pycodecs Package provides python AVL Protocols Server for Codec 8 and Codec 8 Extended Protocols This package will parse the AVL Data and log it in hu
Python decorator for `TODO`s. Don't let your TODOs rot in your python projects anymore !
pipdate pipdate is a collection of small pip update helpers. The command pipdate # or python3.9 -m pipdate updates all your pip-installed packages. (O
Algo-Phantom-Backend 💻 Algo-Phantoms-Backend is an Application that provides pathways and quizzes along with a code editor to help you towards your D
Submission This is the submission for MDX 2021 Track A, for Track B go to the track_b branch. Submission Summary Submission ID: 151378 Submitter: defo
gelidum Freeze your objects in python. Latin English Caelum est hieme frigidum et gelidum; myrtos oleas quaeque alia assiduo tepore laetantur, asperna
spotbee This is a module that spits out YouTube URLs from Spotify Playlist URLs Why use this? It is asynchronous which makes it compatible to use with
PythonToolKit Motivation This Repo should help save time for data scientists' daily work regarding the Time Series regression task by providing functi
Audnexus.bundle An audnex.us client, providing rich author and audiobook data to Plex via it's legacy plugin agent system. 📝 Table of Contents About
GitHub backup repositories Save your repos and list of stargazers & list of forks for them. Pure python3 and git with no dependencies to install. GitH
WMIC Serial Checker Follow me here: Discord | Github FR: A but éducatif seulement. EN: For educational purposes only. ❓ Informations FR: WMIC Serial C
MedAssociates to CSV file A simple way to parse MedAssociate output file in tidy
CIDRE About CIDRE is a retrospective illumination correction method for optical microscopy. It is designed to correct collections of images by buildin