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

New Models Fixes #60

Merged
merged 5 commits into from
Dec 4, 2023
Merged

New Models Fixes #60

merged 5 commits into from
Dec 4, 2023

Conversation

subroseio
Copy link
Contributor

Fixing all tests

@@ -134,13 +134,14 @@ def get_record(

def create_policy(
self, policy: Policy, expected_statuses: Optional[list[int]] = None
) -> None:
) -> dict[str, str]:
Copy link
Collaborator

Choose a reason for hiding this comment

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

very nitpicky, but fyi .json() returns Any, not dict (same for json.loads)

@subroseio subroseio merged commit 9cb2886 into new-models Dec 4, 2023
@subroseio subroseio deleted the new-models-test branch December 4, 2023 17:33
subroseio added a commit that referenced this pull request Dec 4, 2023
* WIP: Models refactor

* More models

* New Models Fixes (#60)

* tests passing

* tidy mods

* validations on username

* more validations

* change to actor

---------

Co-authored-by: Paco Nelos <nelospaco@gmail.com>
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