Skip to content

Commit 3c9b43c

Browse files
Update init .py (#180)
* Update __init__.py * Reformats
1 parent 82c0618 commit 3c9b43c

File tree

5 files changed

+8
-3
lines changed

5 files changed

+8
-3
lines changed

backend/app/__init__.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -58,9 +58,9 @@ def create_app(config_name):
5858
# We recommend adjusting this value in production.
5959
profiles_sample_rate=1.0,
6060
# Config name is either development or testing or production
61-
environment="staging"
62-
if frontend_url.find("staging") != -1
63-
else config_name,
61+
environment=(
62+
"staging" if frontend_url.find("staging") != -1 else config_name
63+
),
6464
send_default_pii=True,
6565
)
6666
dictConfig(

backend/typings/graphene/relay/connection.pyi

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ from _typeshed import Incomplete
2121
class PageInfo(ObjectType):
2222
class Meta:
2323
description: str
24+
2425
has_next_page: Incomplete
2526
has_previous_page: Incomplete
2627
start_cursor: Incomplete
@@ -34,6 +35,7 @@ class ConnectionOptions(ObjectTypeOptions):
3435
class Connection(ObjectType):
3536
class Meta:
3637
abstract: bool
38+
3739
@classmethod
3840
def __init_subclass_with_meta__(
3941
cls, node: Incomplete | None = None, name: Incomplete | None = None, **options

backend/typings/graphene/relay/mutation.pyi

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ from _typeshed import Incomplete
66
class ClientIDMutation(Mutation):
77
class Meta:
88
abstract: bool
9+
910
@classmethod
1011
def __init_subclass_with_meta__(
1112
cls,

backend/typings/graphene/relay/node.pyi

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ class NodeField(Field):
4141
class AbstractNode(Interface):
4242
class Meta:
4343
abstract: bool
44+
4445
@classmethod
4546
def __init_subclass_with_meta__(cls, **options) -> None: ...
4647

backend/typings/graphene/types/inputobjecttype.pyi

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ class InputObjectTypeOptions(BaseOptions):
1414
class InputObjectTypeContainer(dict, BaseType):
1515
class Meta:
1616
abstract: bool
17+
1718
def __init__(self, *args, **kwargs) -> None: ...
1819
def __init_subclass__(cls, *args, **kwargs) -> None: ...
1920

0 commit comments

Comments
 (0)