fetch • AI Agent SDK

fetch: API reference for GitRemoteSkillSource.fetch

fetch

Method

</div>

This is a method of the GitRemoteSkillSource class in the remote module.

Signature

python
def fetch(cache_dir: Path) -> List[Path]

Parameters

ParamField Path

No description available.

Returns

ResponseField List[Path]

The result of the operation.

Uses

  • base.mkdir
  • tempfile.mkdtemp
  • Path
  • subprocess.run
  • logger.warning
  • versioned.exists
  • shutil.rmtree
  • current.exists

Used By

Source

View on GitHub

praisonaiagents/skills/remote.py at line 82