(gen, manifest: dict, node: dict)
| 99 | |
| 100 | |
| 101 | def _apply_manifest_metadata(gen, manifest: dict, node: dict) -> None: |
| 102 | gen.hf_repo = node.get("hf_repo") or manifest.get("hf_repo", "") |
| 103 | gen.hf_skip_prefixes = node.get("hf_skip_prefixes") or manifest.get("hf_skip_prefixes", []) |
| 104 | gen.download_check = node.get("download_check") or manifest.get("download_check", "") |
| 105 | gen._params_schema = node.get("params_schema") or manifest.get("params_schema", []) |
| 106 | |
| 107 | |
| 108 | # ------------------------------------------------------------------ # |
no outgoing calls