Skip to content

Commit

Permalink
Merge pull request #163 from fireblocks/COR-44698-externalDescriptor-…
Browse files Browse the repository at this point in the history
…optional

 COR-44698 - externalDescriptor optional
  • Loading branch information
zoharsf authored Jan 24, 2024
2 parents 8b8dd56 + d2ff0a1 commit 7a567d6
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions fireblocks_sdk/api_types.py
Original file line number Diff line number Diff line change
Expand Up @@ -559,7 +559,7 @@ def __init__(self,
amount_scope: PolicyAmountScope,
amount: Union[int, str],
period_sec: int,
external_descriptor: str,
external_descriptor: Optional[str] = None,
operator: Optional[str] = None,
operators: Optional[Operators] = None,
transaction_type: Optional[PolicyTransactionType] = None,
Expand Down Expand Up @@ -589,7 +589,8 @@ def __init__(self,
self.amount_scope = amount_scope
self.amount = amount
self.period_sec = period_sec
self.external_descriptor = external_descriptor
if external_descriptor:
self.external_descriptor = external_descriptor
if operator:
self.operator = operator
if operators:
Expand Down

0 comments on commit 7a567d6

Please sign in to comment.