-
Notifications
You must be signed in to change notification settings - Fork 0
Bump pyscript #15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bump pyscript #15
Changes from 2 commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -12,7 +12,7 @@ | |
|
|
||
|
|
||
| @click.command() | ||
| @click.argument("files", nargs=-1, type=click.Path(exists=True)) | ||
| @click.argument("files", nargs=-1, type=click.Path(exists=True), required=True) | ||
|
||
| @click.option("--output", "-o", help="Output markdown file") | ||
| def main(files, output): | ||
| output_md = Path(output) | ||
|
|
||
| Original file line number | Diff line number | Diff line change | ||
|---|---|---|---|---|
|
|
@@ -224,6 +224,9 @@ def __init__(self, manifest: dict | None = None, ns: str = None) -> None: | |||
| self.kind = manifest["kind"] | ||||
| self.metadata = manifest["metadata"] | ||||
| self.name = self.metadata["name"] | ||||
| from urllib.parse import quote | ||||
|
||||
| from urllib.parse import quote |
| Original file line number | Diff line number | Diff line change | ||
|---|---|---|---|---|
| @@ -1,7 +1,7 @@ | ||||
| <html> | ||||
| <head> | ||||
| <link rel="stylesheet" href="https://pyscript.net/latest/pyscript.css" /> | ||||
| <script defer src="https://pyscript.net/latest/pyscript.js"></script> | ||||
| <link rel="stylesheet" href="https://pyscript.net/releases/2025.3.1/core.css" /> | ||||
| <script type="module" src="https://pyscript.net/releases/2025.3.1/core.js"></script> | ||||
| <py-config type="toml"> | ||||
| terminal = false | ||||
| packages = [ | ||||
|
|
@@ -306,13 +306,16 @@ <h4>Open Source</h4> | |||
| # log.info(f"{pyodide_js.version= }") | ||||
| from pyodide.ffi import create_proxy | ||||
| import js | ||||
|
|
||||
| from app import Element | ||||
|
||||
| from app import Element |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[nitpick] The tuple comparison for namespace handling is non-intuitive; consider rewriting as
if not is_namespace and parent_type == K8S.Namespaceto express intent more clearly.