dbx-tools-node-runtime 0.9.157__tar.gz → 0.9.158__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {dbx_tools_node_runtime-0.9.157 → dbx_tools_node_runtime-0.9.158}/PKG-INFO +1 -1
- {dbx_tools_node_runtime-0.9.157 → dbx_tools_node_runtime-0.9.158}/pyproject.toml +1 -1
- {dbx_tools_node_runtime-0.9.157 → dbx_tools_node_runtime-0.9.158}/pyproject.toml.orig +1 -1
- {dbx_tools_node_runtime-0.9.157 → dbx_tools_node_runtime-0.9.158}/src/dbx_tools/node_runtime/runtime.js +27 -0
- {dbx_tools_node_runtime-0.9.157 → dbx_tools_node_runtime-0.9.158}/LICENSE +0 -0
- {dbx_tools_node_runtime-0.9.157 → dbx_tools_node_runtime-0.9.158}/README.md +0 -0
- {dbx_tools_node_runtime-0.9.157 → dbx_tools_node_runtime-0.9.158}/src/dbx_tools/node_runtime/__init__.py +0 -0
- {dbx_tools_node_runtime-0.9.157 → dbx_tools_node_runtime-0.9.158}/src/dbx_tools/node_runtime/__main__.py +0 -0
- {dbx_tools_node_runtime-0.9.157 → dbx_tools_node_runtime-0.9.158}/src/dbx_tools/node_runtime/bootstrap.py +0 -0
- {dbx_tools_node_runtime-0.9.157 → dbx_tools_node_runtime-0.9.158}/src/dbx_tools/node_runtime/py.typed +0 -0
- {dbx_tools_node_runtime-0.9.157 → dbx_tools_node_runtime-0.9.158}/src/dbx_tools/node_runtime/runtime.py +0 -0
|
@@ -11127,6 +11127,33 @@ var globals = globalThis;
|
|
|
11127
11127
|
installAbortGlobals(globals);
|
|
11128
11128
|
globals.Headers ??= PythonHeaders;
|
|
11129
11129
|
|
|
11130
|
+
class _PythonRequest {
|
|
11131
|
+
#credentials;
|
|
11132
|
+
#headers;
|
|
11133
|
+
#method;
|
|
11134
|
+
#url;
|
|
11135
|
+
constructor(input, init = {}) {
|
|
11136
|
+
const source = typeof input === "object" && "url" in input ? input : undefined;
|
|
11137
|
+
this.#url = source?.url ?? String(input);
|
|
11138
|
+
this.#method = (init.method ?? source?.method ?? "GET").toUpperCase();
|
|
11139
|
+
this.#headers = new Headers(init.headers ?? source?.headers);
|
|
11140
|
+
this.#credentials = init.credentials ?? source?.credentials ?? "same-origin";
|
|
11141
|
+
}
|
|
11142
|
+
get credentials() {
|
|
11143
|
+
return this.#credentials;
|
|
11144
|
+
}
|
|
11145
|
+
get headers() {
|
|
11146
|
+
return this.#headers;
|
|
11147
|
+
}
|
|
11148
|
+
get method() {
|
|
11149
|
+
return this.#method;
|
|
11150
|
+
}
|
|
11151
|
+
get url() {
|
|
11152
|
+
return this.#url;
|
|
11153
|
+
}
|
|
11154
|
+
}
|
|
11155
|
+
globals.Request ??= _PythonRequest;
|
|
11156
|
+
|
|
11130
11157
|
class PythonResponse {
|
|
11131
11158
|
headers;
|
|
11132
11159
|
ok;
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|