Skip to content

Commit 107d6c4

Browse files
committed
review
1 parent 7250d52 commit 107d6c4

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

hathor/nanocontracts/resources/blueprint.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ class MethodArgInfo(Response):
173173
class MethodInfo(Response):
174174
args: list[MethodArgInfo]
175175
return_type: Optional[str]
176-
docstring: str | None = None
176+
docstring: str | None
177177

178178

179179
class BlueprintInfoResponse(Response):

hathor/nanocontracts/resources/history.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -159,8 +159,8 @@ class NCHistoryParams(QueryParams):
159159
class NCHistoryResponse(Response):
160160
success: bool
161161
count: int
162-
after: Optional[str] = None
163-
before: Optional[str] = None
162+
after: Optional[str]
163+
before: Optional[str]
164164
history: list[dict[str, Any]]
165165
has_more: bool
166166

hathor/nanocontracts/resources/nc_exec_logs.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ class NCExecLogsParams(QueryParams):
109109
class NCExecLogsResponse(Response):
110110
success: Literal[True] = True
111111
nc_id: str
112-
nc_execution: str | None = None
112+
nc_execution: str | None
113113
logs: dict[str, Any]
114114

115115

0 commit comments

Comments
 (0)