Skip to content

Commit

Permalink
Solution to issue goldmansachs#273
Browse files Browse the repository at this point in the history
  • Loading branch information
Julius Tranquilli authored and Julius Tranquilli committed Sep 26, 2023
1 parent 1b82ff4 commit 867aa98
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions gs_quant/entities/entity.py
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,7 @@ def get(cls,
id_type: Union[EntityIdentifier, str],
entity_type: Optional[Union[EntityType, str]] = None):
id_type = id_type.value if isinstance(id_type, Enum) else id_type
id_value = id_value.lower() # Convert to lowercase

if entity_type is None:
entity_type = cls.entity_type()
Expand Down

0 comments on commit 867aa98

Please sign in to comment.