Title: Goto Definition does not work with class methods when modules reference each other · Issue #225 · microsoft/python-language-server · GitHub
Open Graph Title: Goto Definition does not work with class methods when modules reference each other · Issue #225 · microsoft/python-language-server
X Title: Goto Definition does not work with class methods when modules reference each other · Issue #225 · microsoft/python-language-server
Description: Works in a single file, but not cross-files, specifically with circular references. Works if method is not a class method. module1: from .module2 import Derived1 class Base(object): @classmethod def fob_base(cls): pass class Derived2(Der...
Open Graph Description: Works in a single file, but not cross-files, specifically with circular references. Works if method is not a class method. module1: from .module2 import Derived1 class Base(object): @classmethod de...
X Description: Works in a single file, but not cross-files, specifically with circular references. Works if method is not a class method. module1: from .module2 import Derived1 class Base(object): @classmethod de...
Opengraph URL: https://github.com/microsoft/python-language-server/issues/225
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Goto Definition does not work with class methods when modules reference each other","articleBody":"Works in a single file, but not cross-files, specifically with circular references. Works if method is not a class method.\r\n\r\n`module1`:\r\n```python\r\nfrom .module2 import Derived1\r\n\r\nclass Base(object):\r\n @classmethod\r\n def fob_base(cls): \r\n pass\r\n\r\nclass Derived2(Derived1):\r\n pass\r\n\r\nDerived2.fob_base()\r\n```\r\n`module2`:\r\n```python\r\nfrom module1 import *\r\n\r\nclass Derived1(Base):\r\n pass\r\n```","author":{"url":"https://github.com/MikhailArkhipov","@type":"Person","name":"MikhailArkhipov"},"datePublished":"2018-10-10T18:59:55.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/225/python-language-server/issues/225"}
| 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:2a7a2e7c-b266-2d05-73f1-2f5c9c368096 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | C650:38C5E:10C5911:1830F8F:6A4E56A0 |
| html-safe-nonce | 19294e69b84cee4259902880875d43d9caab95a2954176f7c4b20569a8067655 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDNjUwOjM4QzVFOjEwQzU5MTE6MTgzMEY4Rjo2QTRFNTZBMCIsInZpc2l0b3JfaWQiOiI3MTM5NDU0MjkzMTY2MTUxMzI5IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 53f88e2624744d1a9cfbf2963a50468acae8a416405a77b3143da8215c7f86e6 |
| hovercard-subject-tag | issue:368806688 |
| 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/microsoft/python-language-server/225/issue_layout |
| twitter:image | https://opengraph.githubassets.com/f1b4b505ae8c23c3fe4df4cb926cf65e18e565728974a244b4ee843238817986/microsoft/python-language-server/issues/225 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/f1b4b505ae8c23c3fe4df4cb926cf65e18e565728974a244b4ee843238817986/microsoft/python-language-server/issues/225 |
| og:image:alt | Works in a single file, but not cross-files, specifically with circular references. Works if method is not a class method. module1: from .module2 import Derived1 class Base(object): @classmethod de... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | MikhailArkhipov |
| hostname | github.com |
| expected-hostname | github.com |
| None | 030096ee0db095447bfe77409d33bfac127ca7128299c58deef27c52eaa1b1f0 |
| turbo-cache-control | no-preview |
| go-import | github.com/microsoft/python-language-server git https://github.com/microsoft/python-language-server.git |
| octolytics-dimension-user_id | 6154722 |
| octolytics-dimension-user_login | microsoft |
| octolytics-dimension-repository_id | 145901977 |
| octolytics-dimension-repository_nwo | microsoft/python-language-server |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 145901977 |
| octolytics-dimension-repository_network_root_nwo | microsoft/python-language-server |
| 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 | f344f1eab54fc7dfc02d0d018cda7e158c3db65c |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width