foundry_dev_tools.clients.jemma module#

Implementation of the jemma API.

class foundry_dev_tools.clients.jemma.JemmaClient[source]#

Bases: APIClient

JemmaClient class that implements the ‘jemma’ api.

api_name: ClassVar[str] = 'jemma'#
start_checks_and_builds(repository_id, ref_name, commit_hash, file_paths, **kwargs)[source]#

Starts checks and builds.

Parameters:
  • repository_id (RepositoryRid) – the repository id where the transform is located

  • ref_name (Ref) – the git ref_name for the branch

  • commit_hash (Ref) – the git commit hash

  • file_paths (set[FoundryPath]) – a list of python transform files

  • **kwargs – gets passed to APIClient.api_request()

Returns:

the JSON API response

Return type:

dict

api_post_build_jobs(jobs, reuse_existing_jobs, **kwargs)[source]#

Post build jobs.

Parameters:
  • jobs (list[dict]) – list of jobs

  • reuse_existing_jobs (bool) – to reuse existing jobs set to true

  • **kwargs – gets passed to APIClient.api_request()

Return type:

requests.Response