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

Added API logic #29

Open
wants to merge 8 commits into
base: dev
Choose a base branch
from
Open

Added API logic #29

wants to merge 8 commits into from

Conversation

abhishek-ch
Copy link
Collaborator

Merge API Logic and Moved Streamlit to follow API
Initial set of Logic

Copy link
Collaborator

@sprivite sprivite left a comment

Choose a reason for hiding this comment

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

minor comments, please address then go ahead and merge

@@ -113,6 +113,8 @@ def __init__(

self.matching_data = matching_data.copy()
self.target, self.pool = split_target_pool(matching_data)
print(f"self.target: {self.target}")
print(f"self.pool: {self.pool}")
Copy link
Collaborator

Choose a reason for hiding this comment

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

please remove print statements

pybalance/utils/matching_data.py Outdated Show resolved Hide resolved
bin/main.py Outdated Show resolved Hide resolved
bin/main.py Outdated Show resolved Hide resolved
bin/main.py Outdated Show resolved Hide resolved
@sprivite
Copy link
Collaborator

My two other comments are:

  1. Please put api.py in bin/.
  2. Please do not import from streamlit main.py, but rather copy those functions to api.py (and remove from streamlit, as they are no longer needed)

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.

2 participants