Title: Add fk_as_int option to get_pydantic() by iron3oxide · Pull Request #893 · ormar-orm/ormar · GitHub
Open Graph Title: Add fk_as_int option to get_pydantic() by iron3oxide · Pull Request #893 · ormar-orm/ormar
X Title: Add fk_as_int option to get_pydantic() by iron3oxide · Pull Request #893 · ormar-orm/ormar
Description: python async orm with fastapi in mind and pydantic validation - Add fk_as_int option to get_pydantic() by iron3oxide · Pull Request #893 · ormar-orm/ormar
Open Graph Description: This allows to create pydantic models that contain the FK ID instead of the full related model for each field specified in fk_as_int. To see why this can be useful, check #343. Unfortunately I didn...
X Description: This allows to create pydantic models that contain the FK ID instead of the full related model for each field specified in fk_as_int. To see why this can be useful, check #343. Unfortunately I didn...
Opengraph URL: https://github.com/ormar-orm/ormar/pull/893
X: @github
Domain: github.com
| route-pattern | /_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format) |
| route-controller | voltron_pull_requests_fragments |
| route-action | pull_request_layout |
| fetch-nonce | v2:cc456b09-768b-dd3d-5332-21d76b888f03 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 81BA:277986:23AA40:2FD033:6A52575F |
| html-safe-nonce | 7278ae64caadc129465ad7c9b615399cd36ea4dccfd6be11b448141cddc53d71 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4MUJBOjI3Nzk4NjoyM0FBNDA6MkZEMDMzOjZBNTI1NzVGIiwidmlzaXRvcl9pZCI6IjE4MzMzNzkyMTgxMTQ4OTM2NjMiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 6eec6e4b4ff2803d781501b50c0e5b43bea90d109fd2b1cfcc6af4ebc034ac19 |
| hovercard-subject-tag | pull_request:1096678819 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/ormar-orm/ormar/893/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/1380e3152e4d8bb1efbe7b53904eba54d916536805395f8119dfb5919f285bc2/ormar-orm/ormar/pull/893 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/1380e3152e4d8bb1efbe7b53904eba54d916536805395f8119dfb5919f285bc2/ormar-orm/ormar/pull/893 |
| og:image:alt | This allows to create pydantic models that contain the FK ID instead of the full related model for each field specified in fk_as_int. To see why this can be useful, check #343. Unfortunately I didn... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | iron3oxide |
| hostname | github.com |
| expected-hostname | github.com |
| None | b9a586c06a05a7a86fc7e3f4dbd03e42f6869085879aa184aa6369456dbd50fb |
| turbo-cache-control | no-cache |
| go-import | github.com/ormar-orm/ormar git https://github.com/ormar-orm/ormar.git |
| octolytics-dimension-user_id | 264436798 |
| octolytics-dimension-user_login | ormar-orm |
| octolytics-dimension-repository_id | 284405810 |
| octolytics-dimension-repository_nwo | ormar-orm/ormar |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 284405810 |
| octolytics-dimension-repository_network_root_nwo | ormar-orm/ormar |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 7aed05249554b889eb33d002851a973eebcc7e91 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width