Skip to content

Commit

Permalink
fix: remove f-string
Browse files Browse the repository at this point in the history
  • Loading branch information
hiohiohio committed Mar 1, 2024
1 parent 1ff5127 commit 1b2f596
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions alpaca/common/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ def validate_symbol_or_asset_id(
if isinstance(symbol_or_asset_id, (UUID, str)):
return symbol_or_asset_id
raise ValueError(
f"symbol_or_asset_id must be a UUID of an asset id or a string of a symbol."
"symbol_or_asset_id must be a UUID of an asset id or a string of a symbol."
)


Expand All @@ -72,7 +72,7 @@ def validate_symbol_or_contract_id(
if isinstance(symbol_or_contract_id, (UUID, str)):
return symbol_or_contract_id
raise ValueError(
f"symbol_or_contract_id must be a UUID of an contract id or a string of a symbol."
"symbol_or_contract_id must be a UUID of an contract id or a string of a symbol."
)


Expand Down

0 comments on commit 1b2f596

Please sign in to comment.