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