OpenAPI schema sync (v3.6.0) - #216
Merged
Merged
Conversation
fingerprint-dx-team-actions-runner
Bot
requested review from
TheUnderScorer,
erayaydin and
ilfa
as code owners
August 10, 2026 20:47
Contributor
☂️ Code Coverage
Overall Coverage
New Files
Modified Files
|
Contributor
There was a problem hiding this comment.
Pull request overview
Syncs the Python SDK with the Fingerprint Pro Server API OpenAPI schema release v3.6.0 by introducing the new Event.source field and its corresponding EventSource enum, and updating generated artifacts, docs, and tests/mocks accordingly.
Changes:
- Add
EventSourceenum model (device,edge) and expose it via SDK exports/docs. - Add optional
sourcefield to theEventmodel and wire it into (de)serialization. - Update test fixtures and add/extend tests to cover known/unknown
sourcehandling.
Reviewed changes
Copilot reviewed 18 out of 18 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
| test/test_unknown_enum_values.py | Adds coverage for Event.source handling, including unknown enum value preservation. |
| test/mocks/events/search/get_event_search_200.json | Adds source to mock event search response payload. |
| test/mocks/events/get_event_with_bot_info_200.json | Adds source to mock event payload. |
| test/mocks/events/get_event_ruleset_200.json | Adds source to mock event payload. |
| test/mocks/events/get_event_200.json | Adds source to core event fixture used by multiple tests. |
| test/mocks/events/get_event_200_with_unknown_field.json | Adds source to event fixture that includes unknown fields. |
| res/fingerprint-server-api.yaml | Adds EventSource schema and references it from Event.source. |
| README.pypi.md | Adds EventSource to published model documentation list. |
| README.md | Adds EventSource to repository model documentation list. |
| fingerprint_server_sdk/models/event.py | Introduces optional source: EventSource and includes it in properties/from_dict mapping. |
| fingerprint_server_sdk/models/event_source.py | New enum model for event generation source with unknown-value tolerance. |
| fingerprint_server_sdk/models/init.py | Exports EventSource from the models package. |
| fingerprint_server_sdk/init.py | Exports EventSource at the top-level package API. |
| docs/EventSource.md | New generated model documentation for EventSource. |
| docs/Event.md | Documents the new optional source field on Event. |
| .schema-version | Bumps tracked schema version to v3.6.0. |
| .openapi-generator/FILES | Registers newly generated EventSource artifacts. |
| .changeset/add-event-source-field.md | Records a minor release note for adding Event.source. |
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Contributor
🚀 Following releases will be created using changesets from this PR:@fingerprint/python-sdk@9.6.0Minor Changes
|
ilfa
approved these changes
Aug 13, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Schema sync for v3.6.0 OpenAPI schema release.