Skip to content

Commit

Permalink
Lint fix recommendation
Browse files Browse the repository at this point in the history
  • Loading branch information
lajohn4747 committed Jul 25, 2024
1 parent 7759588 commit d896bec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sdv/metadata/metadata.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ def load_from_json(cls, filepath):
@classmethod
def _convert_to_unified_metadata(cls, metadata):
"""Convert the metadata to Metadata."""
if type(metadata) == SingleTableMetadata or type(metadata) == MultiTableMetadata:
if type(metadata) is SingleTableMetadata or type(metadata) is MultiTableMetadata:
metadata = Metadata().load_from_dict(metadata.to_dict())
warnings.warn(DEPRECATION_MSG, FutureWarning)
return metadata
Expand Down

0 comments on commit d896bec

Please sign in to comment.