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

Use super().__init__() for Card subclasses #217

Merged
merged 4 commits into from
Oct 27, 2023
Merged

Conversation

fjork3
Copy link
Contributor

@fjork3 fjork3 commented Oct 22, 2023

No description provided.

@fjork3 fjork3 linked an issue Oct 22, 2023 that may be closed by this pull request
@fjork3 fjork3 marked this pull request as ready for review October 27, 2023 17:36
@fjork3 fjork3 changed the title Use super().__init__() to fill subclass fields Use super().__init__() for Card subclasses Oct 27, 2023
@fjork3 fjork3 merged commit 9245e9a into dev Oct 27, 2023
@fjork3 fjork3 deleted the fj/215/card-init-super branch October 27, 2023 17:46
iambroadband added a commit that referenced this pull request Nov 10, 2023
## [1.0.5] - 2023-11-09

### Added

- Added scooze_id to CardModel and Card. Changed the MongoDB _id to scooze_id. ([#193](#193))
- Added AsyncScoozeApi as a way to use API endpoints in an async context (fixes Jupyter compatibility) ([#199](#199))
- Add Docker support for starting MongoDB via the CLI ([#200](#200))
- CLI rework to be more robust ([#203](#203))
- Github Actions to test on push and deploy on tag ([#211](#211))
- Add `cmc` field to top level for reversible cards ([#212](#212))

### Changed

- Changed the database lookup behavior to treat _id and scooze_id as the same. Also support snake case and camel case for property names. ([#205](#205))
- Added `None` as valid return type in normalizers ([#190](#190))
- Use `super().__init__()` for Card subclasses ([#217](#217))

### Fixed

- Fixed the use of mutable default arguments ([#188](#188))
- Fixed improper runner call in API init ([#190](#190))
- Fixed missing `await` call ([#190](#190))

### Docs

- More completely document possible exceptions ([#209])(#209)

---------

Co-authored-by: Ben Horkley <ben.horkley@gmail.com>
Co-authored-by: Jacob Ginsparg <jacobginsparg@gmail.com>
Co-authored-by: Clayton Mentzer <cwolfmentzer@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.

Use super() in card subclass inits
2 participants