We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 24f07d3 commit 1c25508Copy full SHA for 1c25508
eventsourcingdb_client_python/handlers/lower_bound.py
@@ -5,7 +5,7 @@
5
# TODO: id must be a string.
6
@dataclass
7
class LowerBound:
8
- id: int
+ id: str
9
type: str
10
11
def __post_init__(self):
@@ -15,7 +15,7 @@ def __post_init__(self):
15
reason='type must be either "inclusive" or "exclusive"'
16
)
17
18
- if self.id < 0:
+ if int(self.id) < 0:
19
raise InvalidParameterError(
20
parameter_name='LowerBound',
21
reason='id must be non-negative'
eventsourcingdb_client_python/handlers/upper_bound.py
class UpperBound:
0 commit comments