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

Multioplan Context Manager & Pydantic Plans #4

Merged
merged 33 commits into from
Nov 19, 2024

Conversation

HCookie
Copy link
Member

@HCookie HCookie commented Sep 26, 2024

Updates to server setup

Create context manager to set plan

  • Allows for per server plans in a more pythonic way

Pydantic Configs

  • Using pydantic dataclasses were made to define how to build a plan

@codecov-commenter
Copy link

Welcome to Codecov 🎉

Once you merge this PR into your default branch, you're all set! Codecov will compare coverage reports and display results in all future pull requests.

Thanks for integrating Codecov - We've got you covered ☂️

@HCookie HCookie requested review from tmi and dsarmany October 1, 2024 12:51
@HCookie HCookie changed the title Multioplan Context Manager Multioplan Context Manager & Pydantic Plans Oct 1, 2024
@HCookie HCookie self-assigned this Oct 1, 2024
@HCookie
Copy link
Member Author

HCookie commented Oct 1, 2024

#5 will need to be merged first

@HCookie HCookie force-pushed the feature/multioplan_contextmanager branch from 4bf21ae to 6279ebd Compare October 2, 2024 15:53
multiopython/_version.py Outdated Show resolved Hide resolved
multiopython/plans/actions.py Outdated Show resolved Hide resolved
multiopython/plans/actions.py Outdated Show resolved Hide resolved
multiopython/plans/plans.py Outdated Show resolved Hide resolved
multiopython/plans/utils.py Outdated Show resolved Hide resolved
@HCookie HCookie requested a review from tmi October 3, 2024 09:49
multiopython/plans/actions.py Outdated Show resolved Hide resolved
@tmi
Copy link

tmi commented Oct 7, 2024

just ftr, now looking good from my PoV (ie, including the pydantic parts, but not including all the multio business).

@dsarmany dsarmany force-pushed the feature/multioplan_contextmanager branch from 1bf1a5e to 764a46c Compare October 8, 2024 10:33
@HCookie HCookie force-pushed the feature/multioplan_contextmanager branch 3 times, most recently from f1d2adb to cb40e88 Compare October 15, 2024 08:47
 - Add context manager to multiopython/utils.py
 - Add tests for the context manager
 - Remove Self
 - Use discriminators
 - Use default_factory
@dsarmany dsarmany force-pushed the feature/multioplan_contextmanager branch from eb8fa4a to 2dc28b8 Compare November 19, 2024 10:33
@FussyDuck
Copy link

FussyDuck commented Nov 19, 2024

CLA assistant check
All committers have signed the CLA.

Copy link
Collaborator

@dsarmany dsarmany left a comment

Choose a reason for hiding this comment

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

This is great. Thank you, Harrison.

@dsarmany dsarmany merged commit 9cd33b5 into develop Nov 19, 2024
96 of 97 checks passed
@dsarmany dsarmany deleted the feature/multioplan_contextmanager branch November 19, 2024 10:40
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.

5 participants