Title: feat: add scyjava-stubgen cli command, and `scyjava.types` namespace, which provide type-safe imports with lazy init by tlambert03 · Pull Request #82 · scijava/scyjava · GitHub
Open Graph Title: feat: add scyjava-stubgen cli command, and `scyjava.types` namespace, which provide type-safe imports with lazy init by tlambert03 · Pull Request #82 · scijava/scyjava
X Title: feat: add scyjava-stubgen cli command, and `scyjava.types` namespace, which provide type-safe imports with lazy init by tlambert03 · Pull Request #82 · scijava/scyjava
Description: many more details and tests to follow... but just wanted to open this as a WIP. edit: see #82 (comment) for details Basic idea, after checking out this branch and running pip install -e . again: create stubs with a cli commend, e.g. scyjava-stubgen org.scijava:parsington:3.1.0 Import names provided by that endpoint: python -c "from scyjava.types.org.scijava.parsington import Function; print(Function(1))". Only at the moment of class instantiation will the jvm be started.
Open Graph Description: many more details and tests to follow... but just wanted to open this as a WIP. edit: see #82 (comment) for details Basic idea, after checking out this branch and running pip install -e . again: c...
X Description: many more details and tests to follow... but just wanted to open this as a WIP. edit: see #82 (comment) for details Basic idea, after checking out this branch and running pip install -e . again: c...
Opengraph URL: https://github.com/scijava/scyjava/pull/82
X: @github
Domain: patch-diff.githubusercontent.com
| route-pattern | /:user_id/:repository/pull/:id/checks(.:format) |
| route-controller | pull_requests |
| route-action | checks |
| fetch-nonce | v2:b0f6962f-cb85-7aa8-ddc7-9ff034aa3ce4 |
| current-catalog-service-hash | 87dc3bc62d9b466312751bfd5f889726f4f1337bdff4e8be7da7c93d6c00a25a |
| request-id | 990A:29B6E8:378F616:4A67798:696F1672 |
| html-safe-nonce | 45f708b51996bf96a0d925abeaa31707b1ecceecce4189cdd1da4affec1b63d6 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5OTBBOjI5QjZFODozNzhGNjE2OjRBNjc3OTg6Njk2RjE2NzIiLCJ2aXNpdG9yX2lkIjoiNDg0MjkxNzQ4MTYzNTg0NTc0NiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 278261987f9cc342eb5b84fad42adb49a11ac4838aa97990221a2a1abf2dea7d |
| hovercard-subject-tag | pull_request:2474937067 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,checks,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/scijava/scyjava/pull/82/checks |
| twitter:image | https://avatars.githubusercontent.com/u/1609449?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/1609449?s=400&v=4 |
| og:image:alt | many more details and tests to follow... but just wanted to open this as a WIP. edit: see #82 (comment) for details Basic idea, after checking out this branch and running pip install -e . again: c... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | b278ad162d35332b6de714dfb005de04386c4d92df6475522bef910f491a35ee |
| turbo-cache-control | no-cache |
| go-import | github.com/scijava/scyjava git https://github.com/scijava/scyjava.git |
| octolytics-dimension-user_id | 1262770 |
| octolytics-dimension-user_login | scijava |
| octolytics-dimension-repository_id | 113442144 |
| octolytics-dimension-repository_nwo | scijava/scyjava |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 113442144 |
| octolytics-dimension-repository_network_root_nwo | scijava/scyjava |
| turbo-body-classes | logged-out env-production page-responsive full-width full-width-p-0 |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 39aed5006635ab6f45e6b77d23e73b08a00272a3 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width