Skip to content

feat: DH-23199: Add loader as a field to JsPlugin - #28

Open
mofojed wants to merge 1 commit into
deephaven:mainfrom
mofojed:jsplugin-loader
Open

feat: DH-23199: Add loader as a field to JsPlugin#28
mofojed wants to merge 1 commit into
deephaven:mainfrom
mofojed:jsplugin-loader

Conversation

@mofojed

@mofojed mofojed commented Jul 30, 2026

Copy link
Copy Markdown
Member

- Add a loader field which can contain JSON data for loading the plugin
@mofojed
mofojed requested review from devinrsmith and vbabich July 30, 2026 17:06
@mofojed mofojed self-assigned this Jul 30, 2026
Comment on lines +7 to +16
JsonValue = typing.Union[
None,
bool,
int,
float,
str,
typing.List["JsonValue"],
typing.Dict[str, "JsonValue"],
]
"""A JSON node; any value that can be represented in JSON."""

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't want to hold up this change, but we might consider bumping our python minimum version here in the future, so we could use the more "modern" (aka 2022) suggestion from python/typing#182 (comment)

JSON: TypeAlias = dict[str, "JSON"] | list["JSON"] | str | int | float | bool | None

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants