Skip to content

Commit

Permalink
Removed print statements
Browse files Browse the repository at this point in the history
  • Loading branch information
Ishmeet Bindra committed Jan 10, 2024
1 parent b66363c commit eb32ff1
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions pydanticrud/backends/dynamodb.py
Original file line number Diff line number Diff line change
Expand Up @@ -139,15 +139,10 @@ def _get_type_possibilities(self, field_name) -> Set[tuple]:
possible_types.append(field_properties.get("$ref", field_properties))

def type_from_definition(definition_signature: Union[str, dict]) -> dict:
print("Definition Signature")
print(definition_signature)
if isinstance(definition_signature, str):
print("Inside condition")
t = definition_signature.split("/")[-1]
return self.definitions[t]
return definition_signature
print("Possible Types")
print(possible_types)
type_dicts = [type_from_definition(t) for t in possible_types]

return set([(t["type"], t.get("format", "")) for t in type_dicts])
Expand Down

0 comments on commit eb32ff1

Please sign in to comment.