Title: Allow mention.cluster = another_cluster · Issue #99 · udapi/udapi-python · GitHub
Open Graph Title: Allow mention.cluster = another_cluster · Issue #99 · udapi/udapi-python
X Title: Allow mention.cluster = another_cluster · Issue #99 · udapi/udapi-python
Description: Moving a mention from one cluster to another cluster is not supported yet (but it seems @dan-zeman would like to use it). We should: remove the NotImplementedError in the setter add self._cluster._mentions.remove(self) decide if cluster....
Open Graph Description: Moving a mention from one cluster to another cluster is not supported yet (but it seems @dan-zeman would like to use it). We should: remove the NotImplementedError in the setter add self._cluster._...
X Description: Moving a mention from one cluster to another cluster is not supported yet (but it seems @dan-zeman would like to use it). We should: remove the NotImplementedError in the setter add self._cluster._...
Opengraph URL: https://github.com/udapi/udapi-python/issues/99
X: @github
Domain: patch-diff.githubusercontent.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Allow mention.cluster = another_cluster","articleBody":"Moving a mention from one cluster to another cluster is not supported yet (but it seems @dan-zeman [would like to use it](https://github.com/udapi/udapi-python/pull/96/commits/4b63606129bbe642bf8fec6ec3d3e180a2112e05#diff-cd419721f8faa1a25890db96f1cc928a07be0264103bde2f7c0930607172f4b4R39)). We should:\r\n* remove the `NotImplementedError` in the setter\r\n* add `self._cluster._mentions.remove(self)`\r\n* decide if `cluster._mentions` should be always sorted (and if yes, add a `sort()`)\r\n* `if self._bridging and new_cluster in self._bridging.targets: raise ValueError(\"Bridge cannot self-reference the same cluster\")`\r\n* make sure there are no other hidden problems","author":{"url":"https://github.com/martinpopel","@type":"Person","name":"martinpopel"},"datePublished":"2022-02-08T17:37:45.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/99/udapi-python/issues/99"}
| 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:c041474a-9073-8ba8-a321-cfc70b4aaaa2 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 9BC0:3D4228:2219D0:2FE1E0:696E503E |
| html-safe-nonce | 683eaec7054dbff506d5950e383b0d2f191849ead39822f20120e13bf165720f |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5QkMwOjNENDIyODoyMjE5RDA6MkZFMUUwOjY5NkU1MDNFIiwidmlzaXRvcl9pZCI6IjE0NTU5MzkwNTEyMDA1OTgwNzkiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 1291f2612ec92b5051395201c3d14c8007a96b84e03c369b758de98897759997 |
| hovercard-subject-tag | issue:1127558830 |
| 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/udapi/udapi-python/99/issue_layout |
| twitter:image | https://opengraph.githubassets.com/160bdebe45d96c4ce604a38876442c85f0547d03bdf501d3b4139a660044bf61/udapi/udapi-python/issues/99 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/160bdebe45d96c4ce604a38876442c85f0547d03bdf501d3b4139a660044bf61/udapi/udapi-python/issues/99 |
| og:image:alt | Moving a mention from one cluster to another cluster is not supported yet (but it seems @dan-zeman would like to use it). We should: remove the NotImplementedError in the setter add self._cluster._... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | martinpopel |
| hostname | github.com |
| expected-hostname | github.com |
| None | fd6f183b765d548d18ed5f3a1ce2c0e2a4ddbde2c74596c9d55c1a08b3e5572a |
| turbo-cache-control | no-preview |
| go-import | github.com/udapi/udapi-python git https://github.com/udapi/udapi-python.git |
| octolytics-dimension-user_id | 19330164 |
| octolytics-dimension-user_login | udapi |
| octolytics-dimension-repository_id | 58709861 |
| octolytics-dimension-repository_nwo | udapi/udapi-python |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 58709861 |
| octolytics-dimension-repository_network_root_nwo | udapi/udapi-python |
| 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 | a52ed9988fadfee5477eba0f6835cc823d7d8b33 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width