embassynetwork / modernomad

manage multi-use community houses: members, guests, events.
https://embassynetwork.com/
GNU Affero General Public License v3.0
133 stars 59 forks source link

Bump graphene from 2.1.6 to 3.1.1 #959

Closed dependabot[bot] closed 1 year ago

dependabot[bot] commented 1 year ago

Bumps graphene from 2.1.6 to 3.1.1.

Release notes

Sourced from graphene's releases.

v3.1.1

What's changed

Dataloader

Graphene now includes an updated version of aiodataloader by Syrus Akbary under graphene.utils.dataloader due to inactivity of the old repository. The update fixes an issue some users experienced when trying to use dataloader in conjunction with pytest (syrusakbary/aiodataloader#13). Further contributions and updates to dataloader in this repo are welcome!

Enums

A custom typename can now be added when using from_enum:

    from enum import Enum as PyEnum
class Color(PyEnum):
    RED = 1
    YELLOW = 2
    BLUE = 3

GColor = Enum.from_enum(Color, description="original colors")
UniqueGColor = Enum.from_enum(
    Color, name="UniqueColor", description="unique colors"
)

type Query {
    color: Color!
    uniqueColor: UniqueColor!
}
"""original colors"""
enum Color {
    RED
    YELLOW
    BLUE
}
"""unique colors"""
enum UniqueColor {
    RED
    YELLOW
    BLUE
}

Interfaces

Interfaces extending interfaces is now supported!

    class FooInterface(Interface):
        foo = String()
class BarInterface(Interface):

</tr></table>

... (truncated)

Commits


Dependabot compatibility score

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.


Dependabot commands and options
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)
dependabot[bot] commented 1 year ago

Superseded by #987.