ai_core_sdk.models.application_source module

class ai_core_sdk.models.application_source.ApplicationSource(repo_url: str = None, path: str = None, revision: str = None, **kwargs)

Bases: object

The ApplicationSource object defines the application source.

Parameters:
  • repo_url (str, optional) – URL of the repository, defaults to None

  • path (str, optional) – path within the repository, defaults to None

  • revision (str, optional) – revision number of the application, defaults to None

__init__(repo_url: str = None, path: str = None, revision: str = None, **kwargs)
static from_dict(application_source_dict: Dict[str, str])

Returns a ai_core_sdk.models.application_source.ApplicationSource object, created from the values in the dict provided as parameter

Parameters:

application_source_dict (Dict[str, Any]) – Dict which includes the necessary values to create the object

Returns:

An object, created from the values provided

Return type:

class:ai_core_sdk.models.application_source.ApplicationSource