Skip to content

Commit a9d92f0

Browse files
fix: defining default value "None" for some attributes
1 parent dddda72 commit a9d92f0

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

squarecloud/app.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,6 @@ def __init__(
8888
http: HTTPClient,
8989
id: str,
9090
tag: str,
91-
desc: str,
9291
ram: int,
9392
lang: Literal[
9493
'javascript',
@@ -104,6 +103,7 @@ def __init__(
104103
cluster: Literal['free-', 'florida-1'],
105104
isWebsite: bool,
106105
avatar: str,
106+
desc: str | None = None,
107107
):
108108
self._id = id
109109
self._tag = tag

squarecloud/data.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,6 @@ class AppData:
3535
"""application data class"""
3636
id: str
3737
name: str
38-
desc: str
3938
avatar: str
4039
owner: str
4140
cluster: Literal[
@@ -61,6 +60,7 @@ class AppData:
6160
gitIntegration: bool
6261
domain: str | None = None
6362
custom: str | None = None
63+
desc: str | None = None
6464

6565

6666
@dataclass

0 commit comments

Comments
 (0)