Title: Making .dimensions and .measures properties of the model class · Issue #8 · lightdash/python-sdk · GitHub
Open Graph Title: Making .dimensions and .measures properties of the model class · Issue #8 · lightdash/python-sdk
X Title: Making .dimensions and .measures properties of the model class · Issue #8 · lightdash/python-sdk
Description: Hi, thanks for writing this, especially the nice getting-started! I was thinking, would it not be more natural, instead of having model.list_metrics() to have a @property def metrics(self) and ditto for dimensions? Happy to do a PR if yo...
Open Graph Description: Hi, thanks for writing this, especially the nice getting-started! I was thinking, would it not be more natural, instead of having model.list_metrics() to have a @property def metrics(self) and ditt...
X Description: Hi, thanks for writing this, especially the nice getting-started! I was thinking, would it not be more natural, instead of having model.list_metrics() to have a @property def metrics(self) and ditt...
Opengraph URL: https://github.com/lightdash/python-sdk/issues/8
X: @github
Domain: patch-diff.githubusercontent.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Making .dimensions and .measures properties of the model class","articleBody":"Hi,\n\nthanks for writing this, especially the nice getting-started!\n\nI was thinking, would it not be more natural, instead of having `model.list_metrics()` to have a \n```\n@property\ndef metrics(self)\n```\nand ditto for dimensions? Happy to do a PR if you agree :)","author":{"url":"https://github.com/ZmeiGorynych","@type":"Person","name":"ZmeiGorynych"},"datePublished":"2025-04-21T11:50:38.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/8/python-sdk/issues/8"}
| 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:db17d599-7631-8386-7149-929c62d54a0f |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 8AC8:159FF8:116ABA4:162A652:6975A89A |
| html-safe-nonce | cec05a0694ea77b5ca8e8f82f1ba305a91b8c24ef659eaa2a1675b8f4f377701 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4QUM4OjE1OUZGODoxMTZBQkE0OjE2MkE2NTI6Njk3NUE4OUEiLCJ2aXNpdG9yX2lkIjoiNTMwODE4MDEyMDY0MDk4NDU4IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 12af06f3f7ac7e7ba3e1c827c352430b09e587f281ea6a3a68e1c3dad2e3c0b1 |
| hovercard-subject-tag | issue:3008252466 |
| 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/8/issue_layout |
| twitter:image | https://opengraph.githubassets.com/d3c29d63bc632f18faae4ad472fc16d4c4475a2a4d86bc3a363fd00c7b20c781/lightdash/python-sdk/issues/8 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/d3c29d63bc632f18faae4ad472fc16d4c4475a2a4d86bc3a363fd00c7b20c781/lightdash/python-sdk/issues/8 |
| og:image:alt | Hi, thanks for writing this, especially the nice getting-started! I was thinking, would it not be more natural, instead of having model.list_metrics() to have a @property def metrics(self) and ditt... |
| 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