Skip to content

Extend OData imports with singletons and relationships - #1842

Open
jahlen wants to merge 7 commits into
datacontract:mainfrom
jahlen:odata-update
Open

jahlen wants to merge 7 commits into
datacontract:mainfrom
jahlen:odata-update

Conversation

@jahlen

@jahlen jahlen commented Nov 20, 2026 •

Copy link
Copy Markdown
Contributor

Updated OData implementation to better align with ODCS OData RFC.

Added support for singletons and foreign-key constraints. Added mappings for mappings for Edm.Duration and Edm.Binary.

The server remains type: api with apiType: odata pending approval of the OData server type RFC.

  • Tests pass (uv run pytest)
  • Code formatted (uv run ruff check --fix && uv run ruff format)
  • Docs updated (if relevant)
  • CHANGELOG.md entry added

@jschoedl jschoedl left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Thanks!

Comment thread datacontract/imports/odata_importer.py Resolved
Comment thread datacontract/command_import.py Resolved
Comment thread datacontract/imports/odata_importer.py Resolved
Comment thread datacontract/imports/odata_importer.py Resolved
@jahlen

jahlen commented Nov 23, 2026

Copy link
Copy Markdown
Contributor Author

Hi @jschoedl. I've now updated according to the comments. What do you think now?

@jahlen

jahlen commented Nov 24, 2026

Copy link
Copy Markdown
Contributor Author

Hi @jschoedl. The "slow tests" failed, but as far as I could see it had nothing to do with my code.

I'm marking the comments as resolved. If you want to discuss anything further, let me know.

This branch has not been deployed

No deployments
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