Get asset information. Args: path: Asset path Returns: Dictionary with asset info (name, type, guid, etc.)
(self, path: str)
| 61 | ) |
| 62 | |
| 63 | def info(self, path: str) -> dict[str, Any]: |
| 64 | """Get asset information. |
| 65 | |
| 66 | Args: |
| 67 | path: Asset path |
| 68 | |
| 69 | Returns: |
| 70 | Dictionary with asset info (name, type, guid, etc.) |
| 71 | """ |
| 72 | return self._conn.send_request( |
| 73 | "asset", |
| 74 | { |
| 75 | "action": "info", |
| 76 | "path": path, |
| 77 | }, |
| 78 | ) |
| 79 | |
| 80 | def deps(self, path: str, *, recursive: bool = True) -> dict[str, Any]: |
| 81 | """Get asset dependencies (what this asset depends on). |
no test coverage detected