Aio-microservice

Latest version: v0.15.0

Safety actively analyzes 685525 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 2 of 5

0.11.0

Feature

* feat(graphql): allow passing context_value for testing

Problem
=======
`graphql` extension does not allow to pass a custom context value when
doing `service.schema.execute()`. One use case is to pass a request
with headers to test the authentication logic.

Solution
========
An optional context_value is now accepted as argument to
`schema.execute` and `schema.subscribe`.

Note
====
The `http` module now also exports `litestar.Request` and
`litestar.testing.RequestFactory`, useful when writing tests. ([`5d2c12e`](https://github.com/betaboon/aio-microservice/commit/5d2c12ea71ad3ab7e66e6668527aed174bea8c76))

0.10.0

Chore

* chore: fail tests when coverage is under 100% ([`d399533`](https://github.com/betaboon/aio-microservice/commit/d3995332ee08765e41c360e77598bbb1bff75dba))

Feature

* feat(core): add schema export subcommand ([`9600b6f`](https://github.com/betaboon/aio-microservice/commit/9600b6f74b9a7dddeba3dab095ad02f29b20d1ee))

* feat(core): add version subcommand ([`24b6028`](https://github.com/betaboon/aio-microservice/commit/24b6028d66c71713d9ce15d9b4cafb077e06915d))

* feat(core): separate cli into subcommands ([`8182579`](https://github.com/betaboon/aio-microservice/commit/81825796b4affc74efea4b47d4e242f51d0de0bd))

Fix

* fix: add missing graphql-extra ([`b3b4d45`](https://github.com/betaboon/aio-microservice/commit/b3b4d456d18fe3721d00c9845cad3d0550e4f758))

Refactor

* refactor(core): use inline-functions for click-code ([`db441e9`](https://github.com/betaboon/aio-microservice/commit/db441e94938db146a32a0f418780e3f8e07111b9))

Test

* test(amqp): fix names of some tests ([`a489a1b`](https://github.com/betaboon/aio-microservice/commit/a489a1b142ebc1572c2d90bd3fa99e080f55c287))

* test(core): use MockerFixture instead of MockFixture ([`1badef4`](https://github.com/betaboon/aio-microservice/commit/1badef43fecf46c63afee4d8c91c426469f03067))

0.9.0

Feature

* feat(amqp): move prefetch-count and shutdown-timeout to settings ([`2f22762`](https://github.com/betaboon/aio-microservice/commit/2f227625e9e20bd145188b08f40e9dd874f701f1))

0.8.0

Feature

* feat(core): expose uvicorn keep-alive timeout ([`ead3ced`](https://github.com/betaboon/aio-microservice/commit/ead3ced81c9ec38c83d1886e06b2dbbe0f808409))

Test

* test(graphql): add missing test for schema-download ([`cbbb91a`](https://github.com/betaboon/aio-microservice/commit/cbbb91aa988c1d513abea29aa13a0146cfe52665))

0.7.1

Fix

* fix(graphql): prevent function-name collision ([`5a81d9e`](https://github.com/betaboon/aio-microservice/commit/5a81d9e58b2a3d1a36bb397f542bf9507cf55ed2))

0.7.0

Feature

* feat(graphql): add initial strawberry-integration ([`8ca0bfb`](https://github.com/betaboon/aio-microservice/commit/8ca0bfb32e2d83410f723f986ea0f46edb745c4d))

Page 2 of 5

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.