Title: implement __getattr__ on Group · Issue #202 · larray-project/larray · GitHub
Open Graph Title: implement __getattr__ on Group · Issue #202 · larray-project/larray
X Title: implement __getattr__ on Group · Issue #202 · larray-project/larray
Description: (forward the call to .eval().__getattr__) This would, for example, make the following work: >>> a = Axis('a', ['a1:a2', 'a0:a1']) >>> a Axis('a', ['a1:a2', 'a0:a1']) >>> a.i[0].split(':') AttributeError Traceback (most recent call last) ...
Open Graph Description: (forward the call to .eval().__getattr__) This would, for example, make the following work: >>> a = Axis('a', ['a1:a2', 'a0:a1']) >>> a Axis('a', ['a1:a2', 'a0:a1']) >>> a.i[0].split(':') Attribute...
X Description: (forward the call to .eval().__getattr__) This would, for example, make the following work: >>> a = Axis('a', ['a1:a2', 'a0:a1']) >>> a Axis('a', [...
Opengraph URL: https://github.com/larray-project/larray/issues/202
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"implement __getattr__ on Group","articleBody":"(forward the call to `.eval().__getattr__`)\r\n\r\nThis would, for example, make the following work:\r\n```python\r\n>>> a = Axis('a', ['a1:a2', 'a0:a1'])\r\n>>> a\r\nAxis('a', ['a1:a2', 'a0:a1'])\r\n>>> a.i[0].split(':')\r\nAttributeError Traceback (most recent call last)\r\n...\r\nAttributeError: 'PGroup' object has no attribute 'split'\r\n>>> # currently, we have to use .eval() explicitly\r\n>>> a.i[0].eval().split(':')\r\n['a1', 'a2']\r\n```","author":{"url":"https://github.com/gdementen","@type":"Person","name":"gdementen"},"datePublished":"2017-04-04T10:15:49Z","url":"https://github.com/larray-project/larray/issues/202"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| 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:7d918c33-62a6-b02d-fea1-fe1db25a1346 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | CA94:3FDF0C:1EFFE4:2953C0:6B002169 |
| html-safe-nonce | 0f0699442540d5eba96c41e58dd8855ed6a58a753e3736eb9911e0f300ecbe96 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDQTk0OjNGREYwQzoxRUZGRTQ6Mjk1M0MwOjZCMDAyMTY5IiwidmlzaXRvcl9pZCI6IjYxODc3MjgyNDY2Mjk0NzQ2NjUiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 63e7eed0ed758e0719c62825ab7cfa92464ee1cc1a74a5380f2a48b50ae7f649 |
| hovercard-subject-tag | issue:219202894 |
| 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/larray-project/larray/202/issue_layout |
| twitter:image | https://opengraph.githubassets.com/90ab5b2924da58fb1bbdaa409a31c037b974e51449d157851ff7a089dc4ec697/larray-project/larray/issues/202 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/90ab5b2924da58fb1bbdaa409a31c037b974e51449d157851ff7a089dc4ec697/larray-project/larray/issues/202 |
| og:image:alt | (forward the call to .eval().__getattr__) This would, for example, make the following work: >>> a = Axis('a', ['a1:a2', 'a0:a1']) >>> a Axis('a', ['a1:a2', 'a0:a1']) >>> a.i[0].split(':') Attribute... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | gdementen |
| hostname | github.com |
| expected-hostname | github.com |
| None | 4eb4cba0d69f045374ac15de9666d22b0961e1d555cc3824f36b7734c00c78e0 |
| turbo-cache-control | no-preview |
| go-import | github.com/larray-project/larray git https://github.com/larray-project/larray.git |
| octolytics-dimension-user_id | 26460981 |
| octolytics-dimension-user_login | larray-project |
| octolytics-dimension-repository_id | 16981067 |
| octolytics-dimension-repository_nwo | larray-project/larray |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 16981067 |
| octolytics-dimension-repository_network_root_nwo | larray-project/larray |
| 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 | 44c658b24abf00491fb7ae5f56d42c9f38cbeab2 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width