Title: Create a new field in `PyImport` to obtain the line of code that contains the import. · Issue #127 · codellm-devkit/python-sdk · GitHub
Open Graph Title: Create a new field in `PyImport` to obtain the line of code that contains the import. · Issue #127 · codellm-devkit/python-sdk
X Title: Create a new field in `PyImport` to obtain the line of code that contains the import. · Issue #127 · codellm-devkit/python-sdk
Description: Is your feature request related to a problem? Please describe. I'd like to see the body of the import statement in addition the the constituents. Describe the solution you'd like We have: class PyImport(BaseModel): from_statement: str im...
Open Graph Description: Is your feature request related to a problem? Please describe. I'd like to see the body of the import statement in addition the the constituents. Describe the solution you'd like We have: class PyI...
X Description: Is your feature request related to a problem? Please describe. I'd like to see the body of the import statement in addition the the constituents. Describe the solution you'd like We have: c...
Opengraph URL: https://github.com/codellm-devkit/python-sdk/issues/127
X: @github
Domain: patch-diff.githubusercontent.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Create a new field in `PyImport` to obtain the line of code that contains the import.","articleBody":"**Is your feature request related to a problem? Please describe.**\nI'd like to see the body of the import statement in addition the the constituents. \n\n**Describe the solution you'd like**\nWe have:\n```python \nclass PyImport(BaseModel):\n from_statement: str\n imports: List[str]\n```\n\nBut it'd be nice to have:\n```python\nclass PyImport(BaseModel):\n from_statement: str\n imports: List[str]\n code_body: str\n```\n\n**Describe alternatives you've considered**\nObtain it manually by slicing the file with the lines of code. \n\n**Additional context**\nNone.\n","author":{"url":"https://github.com/rahlk","@type":"Person","name":"rahlk"},"datePublished":"2025-04-22T17:41:37.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/127/python-sdk/issues/127"}
| 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:24e4131b-364c-99d1-bb02-e72a4ba4ff0d |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 8184:3AB510:27D47F7:35A4CE4:698DAF12 |
| html-safe-nonce | f200f9a013e76561e357f550be0e76a2ddf0b5f73abb4b98ad69df37054e05f1 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4MTg0OjNBQjUxMDoyN0Q0N0Y3OjM1QTRDRTQ6Njk4REFGMTIiLCJ2aXNpdG9yX2lkIjoiNzk4MjU3MTg0MzgzMDUyNTcxNCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | b864dba97d6fb6a44d41d893931aa29d68c6f98f4d3f49197b4706561f4a7c41 |
| hovercard-subject-tag | issue:3011721270 |
| 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/codellm-devkit/python-sdk/127/issue_layout |
| twitter:image | https://opengraph.githubassets.com/773954cd4a8220bab27429b12b34b261b21525a6fe7a33c3f535be2c4058aaef/codellm-devkit/python-sdk/issues/127 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/773954cd4a8220bab27429b12b34b261b21525a6fe7a33c3f535be2c4058aaef/codellm-devkit/python-sdk/issues/127 |
| og:image:alt | Is your feature request related to a problem? Please describe. I'd like to see the body of the import statement in addition the the constituents. Describe the solution you'd like We have: class PyI... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | rahlk |
| hostname | github.com |
| expected-hostname | github.com |
| None | 8c7947c0c592efeab6162b9909ad11fa43bff8b0cb5ff43273dc25e41979d43e |
| turbo-cache-control | no-preview |
| go-import | github.com/codellm-devkit/python-sdk git https://github.com/codellm-devkit/python-sdk.git |
| octolytics-dimension-user_id | 197800760 |
| octolytics-dimension-user_login | codellm-devkit |
| octolytics-dimension-repository_id | 826048982 |
| octolytics-dimension-repository_nwo | codellm-devkit/python-sdk |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 826048982 |
| octolytics-dimension-repository_network_root_nwo | codellm-devkit/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 | b22a9fbf4dea601ec149a9e5362e0558df79b505 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width