glacis 0.1.1__tar.gz → 0.1.2__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.
- {glacis-0.1.1 → glacis-0.1.2}/PKG-INFO +1 -1
- {glacis-0.1.1 → glacis-0.1.2}/glacis/wasm_runtime.py +11 -0
- {glacis-0.1.1 → glacis-0.1.2}/pyproject.toml +1 -1
- {glacis-0.1.1 → glacis-0.1.2}/.gitignore +0 -0
- {glacis-0.1.1 → glacis-0.1.2}/LICENSE +0 -0
- {glacis-0.1.1 → glacis-0.1.2}/README.md +0 -0
- {glacis-0.1.1 → glacis-0.1.2}/glacis/__init__.py +0 -0
- {glacis-0.1.1 → glacis-0.1.2}/glacis/__main__.py +0 -0
- {glacis-0.1.1 → glacis-0.1.2}/glacis/client.py +0 -0
- {glacis-0.1.1 → glacis-0.1.2}/glacis/crypto.py +0 -0
- {glacis-0.1.1 → glacis-0.1.2}/glacis/integrations/__init__.py +0 -0
- {glacis-0.1.1 → glacis-0.1.2}/glacis/integrations/anthropic.py +0 -0
- {glacis-0.1.1 → glacis-0.1.2}/glacis/integrations/openai.py +0 -0
- {glacis-0.1.1 → glacis-0.1.2}/glacis/models.py +0 -0
- {glacis-0.1.1 → glacis-0.1.2}/glacis/storage.py +0 -0
- {glacis-0.1.1 → glacis-0.1.2}/glacis/streaming.py +0 -0
- {glacis-0.1.1 → glacis-0.1.2}/glacis/wasm/s3p_core_wasi.wasm +0 -0
|
@@ -520,3 +520,14 @@ def sign_offline_attestation(
|
|
|
520
520
|
|
|
521
521
|
result: dict[str, Any] = json.loads(signed_json)
|
|
522
522
|
return result
|
|
523
|
+
|
|
524
|
+
|
|
525
|
+
def get_runtime() -> str:
|
|
526
|
+
"""
|
|
527
|
+
Get the current runtime type name.
|
|
528
|
+
|
|
529
|
+
Returns:
|
|
530
|
+
String identifying the runtime: "WasmRuntime" or "PyNaClRuntime"
|
|
531
|
+
"""
|
|
532
|
+
runtime = WasmRuntime.get_instance()
|
|
533
|
+
return type(runtime).__name__
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|