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

Create MultiTableMetadata class #924

Merged
merged 3 commits into from
Jul 27, 2022

Conversation

pvk-developer
Copy link
Member

Resolves #883

@pvk-developer pvk-developer requested a review from a team as a code owner July 25, 2022 15:52
@pvk-developer pvk-developer requested review from amontanez24 and removed request for a team July 25, 2022 15:52
@codecov-commenter
Copy link

codecov-commenter commented Jul 25, 2022

Codecov Report

Merging #924 (5d51b24) into V1.0.0.dev (72ba076) will increase coverage by 3.08%.
The diff coverage is 100.00%.

@@              Coverage Diff               @@
##           V1.0.0.dev     #924      +/-   ##
==============================================
+ Coverage       70.26%   73.34%   +3.08%     
==============================================
  Files              39       40       +1     
  Lines            3027     3377     +350     
==============================================
+ Hits             2127     2477     +350     
  Misses            900      900              
Impacted Files Coverage Δ
sdv/metadata/__init__.py 100.00% <100.00%> (ø)
sdv/metadata/multi_table.py 100.00% <100.00%> (ø)
sdv/constraints/tabular.py 100.00% <0.00%> (+0.26%) ⬆️
sdv/constraints/base.py 97.48% <0.00%> (+0.59%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 72ba076...5d51b24. Read the comment docs.

@pvk-developer pvk-developer requested a review from fealho July 26, 2022 17:23
- Instance of ``MultiTableMetadata``.
- Add mocked values to ``instance._tables`` and ``instance._relationships``.
Mock:
- Mock ``SingleTableMetadata`` like object to ``instance._tables``.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There are a lot of SingleTableMetadata in the multitable files. Maybe ctrl f for them and put MultiTableMetadata instead.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think they should be ok since they are mocks of SingleTableMetadata or just calls from it

@amontanez24 amontanez24 changed the base branch from master to V1.0.0.dev July 26, 2022 18:20
Copy link
Contributor

@amontanez24 amontanez24 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Besides @fealho 's comments this looks good to me. After addressing :shipit:

@pvk-developer pvk-developer merged commit 27267fc into V1.0.0.dev Jul 27, 2022
@pvk-developer pvk-developer deleted the issue-883-create-multitablemetadata-class branch July 27, 2022 08:16
fealho pushed a commit that referenced this pull request Jul 29, 2022
* Create MultiTableMetadata class.

* Increase coverage to 100%

* Fix typo
pvk-developer added a commit that referenced this pull request Aug 9, 2022
* Create MultiTableMetadata class.

* Increase coverage to 100%

* Fix typo
pvk-developer added a commit that referenced this pull request Aug 10, 2022
* Create MultiTableMetadata class.

* Increase coverage to 100%

* Fix typo
amontanez24 pushed a commit that referenced this pull request Sep 13, 2022
* Create MultiTableMetadata class.

* Increase coverage to 100%

* Fix typo
amontanez24 pushed a commit that referenced this pull request Nov 22, 2022
* Create MultiTableMetadata class.

* Increase coverage to 100%

* Fix typo
amontanez24 pushed a commit that referenced this pull request Dec 21, 2022
* Create MultiTableMetadata class.

* Increase coverage to 100%

* Fix typo
amontanez24 pushed a commit that referenced this pull request Feb 17, 2023
* Create MultiTableMetadata class.

* Increase coverage to 100%

* Fix typo
amontanez24 pushed a commit that referenced this pull request Mar 23, 2023
* Create MultiTableMetadata class.

* Increase coverage to 100%

* Fix typo
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Create MultiTableMetadata class
4 participants