Update public source
This commit is contained in:
@@ -80,10 +80,10 @@ class JobIssuanceService:
|
||||
self,
|
||||
method_id: str,
|
||||
method_version: int,
|
||||
limit: int,
|
||||
limit: int | None,
|
||||
client_id: str | None = None,
|
||||
) -> IssuedJob | None:
|
||||
if limit <= 0:
|
||||
if limit is not None and limit <= 0:
|
||||
raise ValueError("limit must be greater than zero")
|
||||
|
||||
method_version_row = self._methods.get_method_version(
|
||||
|
||||
Reference in New Issue
Block a user