Title: Move domain objects from dataclasses to Pydantic? · Issue #9 · lightdash/python-sdk · GitHub
Open Graph Title: Move domain objects from dataclasses to Pydantic? · Issue #9 · lightdash/python-sdk
X Title: Move domain objects from dataclasses to Pydantic? · Issue #9 · lightdash/python-sdk
Description: Would it make sense to move the domain objects, such as Dimension, Measure, etc from dataclasses to Pydantic classes? Would add validation and a handful of other nice Pydantic features. Happy to raise a PR if you're open to the idea.
Open Graph Description: Would it make sense to move the domain objects, such as Dimension, Measure, etc from dataclasses to Pydantic classes? Would add validation and a handful of other nice Pydantic features. Happy to ra...
X Description: Would it make sense to move the domain objects, such as Dimension, Measure, etc from dataclasses to Pydantic classes? Would add validation and a handful of other nice Pydantic features. Happy to ra...
Opengraph URL: https://github.com/lightdash/python-sdk/issues/9
X: @github
Domain: patch-diff.githubusercontent.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Move domain objects from dataclasses to Pydantic?","articleBody":"Would it make sense to move the domain objects, such as Dimension, Measure, etc from dataclasses to Pydantic classes? Would add validation and a handful of other nice Pydantic features. Happy to raise a PR if you're open to the idea.","author":{"url":"https://github.com/ZmeiGorynych","@type":"Person","name":"ZmeiGorynych"},"datePublished":"2025-04-21T12:00:25.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/9/python-sdk/issues/9"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:eca1ccb6-5a1c-517b-fca1-39040d1d485d |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 8A38:DF47A:72E91E7:950A635:69758CDA |
| html-safe-nonce | 65500e932bb4d50e3f1e98cd00da36f81575c7b68f4ec1739b7f0f43c4e16b0f |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4QTM4OkRGNDdBOjcyRTkxRTc6OTUwQTYzNTo2OTc1OENEQSIsInZpc2l0b3JfaWQiOiI1MzI2ODgzOTczMDcwNTUzMjIiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 7701ce2f162073acb9face3a595b2b063526e9e408e9dfe10090176d6735fed4 |
| hovercard-subject-tag | issue:3008267313 |
| github-keyboard-shortcuts | repository,issues,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/issues/show/lightdash/python-sdk/9/issue_layout |
| twitter:image | https://opengraph.githubassets.com/76bcb47e57eaf6b446150c20a072599d5276012783a40171a6c5ed259b0137d4/lightdash/python-sdk/issues/9 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/76bcb47e57eaf6b446150c20a072599d5276012783a40171a6c5ed259b0137d4/lightdash/python-sdk/issues/9 |
| og:image:alt | Would it make sense to move the domain objects, such as Dimension, Measure, etc from dataclasses to Pydantic classes? Would add validation and a handful of other nice Pydantic features. Happy to ra... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | ZmeiGorynych |
| hostname | github.com |
| expected-hostname | github.com |
| None | 4a4bf5f4e28041a9d2e5c107d7d20b78b4294ba261cab243b28167c16a623a1f |
| turbo-cache-control | no-preview |
| go-import | github.com/lightdash/python-sdk git https://github.com/lightdash/python-sdk.git |
| octolytics-dimension-user_id | 65912827 |
| octolytics-dimension-user_login | lightdash |
| octolytics-dimension-repository_id | 932695849 |
| octolytics-dimension-repository_nwo | lightdash/python-sdk |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 932695849 |
| octolytics-dimension-repository_network_root_nwo | lightdash/python-sdk |
| 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 | 488b30e96dfd057fbbe44c6665ccbc030b729dde |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width