@@ -183,8 +183,8 @@ def projects(
183
183
self ,
184
184
* ,
185
185
shared : bool = False ,
186
- cursor : str | None = None ,
187
- limit : int | None = None ,
186
+ cursor : str = None ,
187
+ limit : int = None ,
188
188
) -> t .List [t .Dict [str , t .Any ]]:
189
189
"""Get a list of projects. If shared is True, get a list of shared projects.
190
190
@@ -297,8 +297,8 @@ def branches(
297
297
self ,
298
298
project_id : str ,
299
299
* ,
300
- cursor : str | None = None ,
301
- limit : int | None = None ,
300
+ cursor : str = None ,
301
+ limit : int = None ,
302
302
) -> t .Dict [str , t .Any ]:
303
303
"""Get a list of branches.
304
304
@@ -400,8 +400,8 @@ def databases(
400
400
project_id : str ,
401
401
branch_id : str ,
402
402
* ,
403
- cursor : str | None = None ,
404
- limit : int | None = None ,
403
+ cursor : str = None ,
404
+ limit : int = None ,
405
405
) -> t .List [t .Dict [str , t .Any ]]:
406
406
"""Get a list of databases.
407
407
@@ -741,8 +741,8 @@ def operations(
741
741
self ,
742
742
project_id : str ,
743
743
* ,
744
- cursor : str | None = None ,
745
- limit : int | None = None ,
744
+ cursor : str = None ,
745
+ limit : int = None ,
746
746
) -> t .Dict [str , t .Any ]:
747
747
"""Get a list of operations.
748
748
@@ -778,10 +778,10 @@ def operation(self, project_id: str, operation_id: str) -> t.Dict[str, t.Any]:
778
778
def consumption (
779
779
self ,
780
780
* ,
781
- cursor : str | None = None ,
782
- limit : int | None = None ,
783
- from_date : datetime | str | None = None ,
784
- to_date : datetime | str | None = None ,
781
+ cursor : str = None ,
782
+ limit : int = None ,
783
+ from_date : datetime = None ,
784
+ to_date : datetime = None ,
785
785
) -> t .Dict [str , t .Any ]:
786
786
"""Experimental — get a list of consumption metrics for all projects.
787
787
0 commit comments