Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Incorrect schema version printing during detect_table_from_dataframe #1038

Closed
amontanez24 opened this issue Sep 28, 2022 · 0 comments
Closed
Assignees
Labels
bug Something isn't working
Milestone

Comments

@amontanez24
Copy link
Contributor

Environment Details

Please indicate the following details about the environment in which you found the bug:

  • SDV version: 1.0.0.dev
  • Python version: All
  • Operating System: All

Error Description

When you call detect_table_from_dataframe, the print message shows the SCHEMA_VERSION as SINGLE_TABLE_V1 even though it is a MultiTableMetadata method.

Steps to reproduce

from sdv.metadata import MultiTableMetadata
from sdv.demo import load_demo

metadata = MultiTableMetadata()
data = load_demo('Accidents_v1')
for table_name, table in data.items():
    metadata.detect_table_from_dataframe(table_name, table)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant