Buckets:
firestryker/ubuntu / LTX2.3-Studio /env /lib /python3.12 /site-packages /collada /resources /__init__.py
| from importlib import resources | |
| def resource_string(file_name: str) -> str: | |
| """ | |
| Get the value of a file in `collada/resources/{file_name}` | |
| as a string. | |
| Parameters | |
| ----------- | |
| file_name | |
| The name of the file in `collada/resources/{file_name}` | |
| Returns | |
| ---------- | |
| value | |
| The contents of the file. | |
| """ | |
| return resources.files("collada").joinpath("resources", file_name).read_text() | |
Xet Storage Details
- Size:
- 435 Bytes
- Xet hash:
- 338bea08855584b27279fe45460f5d2d1ab9fa56c66b156385798a7db3a86dd7
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.