Skip to content

Commit a8a8cc4

Browse files
:waste: removed useless comments
1 parent 3a83432 commit a8a8cc4

File tree

4 files changed

+1
-33
lines changed

4 files changed

+1
-33
lines changed

squarecloud/client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
from typing_extensions import deprecated
99

1010
from .app import Application
11-
from .data import ( # LogsData,
11+
from .data import (
1212
AppData,
1313
BackupData,
1414
DeployData,

squarecloud/http/endpoints.py

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -4,21 +4,6 @@
44
class Endpoint:
55
"""Endpoint"""
66

7-
# ENDPOINTS_V1 = {
8-
# 'USER_ME': {'METHOD': 'GET', 'PATH': '/user'},
9-
# 'USER_INFO': {'METHOD': 'GET', 'PATH': '/user/{user_id}'},
10-
# 'APP_STATUS': {'METHOD': 'GET', 'PATH': '/status/{app_id}'},
11-
# 'LOGS': {'METHOD': 'GET', 'PATH': '/logs/{app_id}'},
12-
# 'FULL_LOGS': {'METHOD': 'GET', 'PATH': '/full-logs/{app_id}'},
13-
# 'START': {'METHOD': 'POST', 'PATH': '/start/{app_id}'},
14-
# 'STOP': {'METHOD': 'POST', 'PATH': '/stop/{app_id}'},
15-
# 'RESTART': {'METHOD': 'POST', 'PATH': '/restart/{app_id}'},
16-
# 'BACKUP': {'METHOD': 'GET', 'PATH': '/backup/{app_id}'},
17-
# 'COMMIT': {'METHOD': 'POST', 'PATH': '/commit/{app_id}'},
18-
# 'DELETE': {'METHOD': 'POST', 'PATH': '/delete/{app_id}'},
19-
# 'UPLOAD': {'METHOD': 'POST', 'PATH': '/upload'},
20-
# }
21-
227
ENDPOINTS_V2 = {
238
'USER': {'METHOD': 'GET', 'PATH': '/user'},
249
'APP_DATA': {'METHOD': 'GET', 'PATH': '/apps/{app_id}'},

squarecloud/listeners/__init__.py

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -160,22 +160,6 @@ def cast_to_pydantic_model(
160160
result = None
161161
return result
162162

163-
# async def notify(
164-
# self,
165-
# endpoint: Endpoint,
166-
# extra: Any = None,
167-
# **kwargs,
168-
# ) -> Any | Exception:
169-
# """
170-
# The notify method is called when a capture event occurs.
171-
#
172-
# :param self: Refer to the class instance
173-
# :param endpoint: Endpoint: Get the endpoint that is being called
174-
# :param extra:
175-
# :return: The result of the call function
176-
# """
177-
# pass
178-
179163

180164
ListenerDataTypes = Union[
181165
data.AppData,

squarecloud/listeners/capture_listener.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,6 @@ async def notify(
7272
:param extra:
7373
:return: The result of the call function
7474
"""
75-
# TODO ATUALIZAR DOCSTRINGS AQUI
7675

7776
def filter_annotations(annotations: list[Any]) -> Any:
7877
for item in annotations:

0 commit comments

Comments
 (0)