Title: Property setter for Gate model · Issue #120 · cellengine/cellengine-python-toolkit · GitHub
Open Graph Title: Property setter for Gate model · Issue #120 · cellengine/cellengine-python-toolkit
X Title: Property setter for Gate model · Issue #120 · cellengine/cellengine-python-toolkit
Description: There is a property for gate model in cellengine.payloads.gate, but there is no setter for it. Modifying the munch object does not update the model within the gate object: #Does not update mygate.model, because the model property returns...
Open Graph Description: There is a property for gate model in cellengine.payloads.gate, but there is no setter for it. Modifying the munch object does not update the model within the gate object: #Does not update mygate.m...
X Description: There is a property for gate model in cellengine.payloads.gate, but there is no setter for it. Modifying the munch object does not update the model within the gate object: #Does not update mygate.m...
Opengraph URL: https://github.com/cellengine/cellengine-python-toolkit/issues/120
X: @github
Domain: patch-diff.githubusercontent.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Property setter for Gate model","articleBody":"There is a property for gate model in `cellengine.payloads.gate`, but there is no setter for it. Modifying the munch object does not update the model within the gate object:\r\n\r\n```\r\n#Does not update mygate.model, because the model property returns a new Munch object\r\nmygate.model.rectangle.x1 = mygate.model.rectangle.x1 + 1\r\n\r\n#Error, no setter for the property\r\nmodel = mygate.model\r\nmodel.rectangle.x1 = model.rectangle.x1 + 1\r\nmygate.model = model\r\n\r\n```\r\n\r\nBeing able to update the model like that would be helpful to move the gate and then call `gate.update()` to persist that modification to CellEngine\r\n","author":{"url":"https://github.com/gingo00","@type":"Person","name":"gingo00"},"datePublished":"2021-12-01T19:01:10.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/120/cellengine-python-toolkit/issues/120"}
| 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:76327487-8652-0cd5-758d-792141c2330b |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | AE5E:1C8605:CE0B3:11DDE9:698F29F4 |
| html-safe-nonce | c7f7506acd628b73428e97acdc8db6159d35d24378619bd13eec115e1eb12576 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBRTVFOjFDODYwNTpDRTBCMzoxMURERTk6Njk4RjI5RjQiLCJ2aXNpdG9yX2lkIjoiNzIwNDM4MDM2ODg3NDQ0OTM5NyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | ba08d3352ad156c01ee48b283fca8e2cb72c0fa3ed80bab77a183e7a6e11cb19 |
| hovercard-subject-tag | issue:1068768088 |
| 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/cellengine/cellengine-python-toolkit/120/issue_layout |
| twitter:image | https://opengraph.githubassets.com/70080cc6aa271bbbee63ed84a9c4fd51b3c64ad5ca9a15754cf964b7ba489f4d/cellengine/cellengine-python-toolkit/issues/120 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/70080cc6aa271bbbee63ed84a9c4fd51b3c64ad5ca9a15754cf964b7ba489f4d/cellengine/cellengine-python-toolkit/issues/120 |
| og:image:alt | There is a property for gate model in cellengine.payloads.gate, but there is no setter for it. Modifying the munch object does not update the model within the gate object: #Does not update mygate.m... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | gingo00 |
| hostname | github.com |
| expected-hostname | github.com |
| None | 6102991c714c1a6a27d05fb4f96ea6ca87a6750b4f093b95cc57ed1b84b145a1 |
| turbo-cache-control | no-preview |
| go-import | github.com/cellengine/cellengine-python-toolkit git https://github.com/cellengine/cellengine-python-toolkit.git |
| octolytics-dimension-user_id | 8647348 |
| octolytics-dimension-user_login | cellengine |
| octolytics-dimension-repository_id | 123248571 |
| octolytics-dimension-repository_nwo | cellengine/cellengine-python-toolkit |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 123248571 |
| octolytics-dimension-repository_network_root_nwo | cellengine/cellengine-python-toolkit |
| 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 | d52a41ad9b9ffb9b63a1b4a600a6054be8b70b36 |
| ui-target | canary-2 |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width