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

Refactor data retrieval functions: get_all_users ,get_all_site_group #266

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

MAYANK12SHARMA
Copy link
Contributor

Pull Request

Description

Function : get_all_users in pv_site_datamodel
Function : get_all_site_groups in pv_site_datamodel

Fixes #89

How Has This Been Tested?

Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce.
Please also list any relevant details for your test configuration

Checklist:

  • My code follows OCF's coding style guidelines
  • I have performed a self-review of my own code
  • I have made corresponding changes to the documentation
  • I have added tests that prove my fix is effective or that my feature works
  • I have checked my code and corrected any misspellings

@@ -10,7 +10,7 @@
from pvsite_datamodel.read.model import get_models
from pvsite_datamodel.sqlmodels import SiteAssetType

from get_data import get_all_users, get_all_site_groups
# from get_data import get_all_users, get_all_site_groups # Function has been already transferred to pvsite_datamodel.read.user
Copy link
Contributor

Choose a reason for hiding this comment

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

remove this fully, its ok, its in the git history

get_all_users,
get_all_site_groups,
)
# from get_data import (
Copy link
Contributor

Choose a reason for hiding this comment

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

remove commented out code

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.

move get_data.py functions to pv-site-datamodel
2 participants