ruạṛ
a ���f� � @ s8 d dl mZmZmZ d dlmZ eG dd� de��ZdS )� )�formatted_flat_dict� NONE_SENTINEL�#value_allowed_none_or_none_sentinel)�init_model_state_from_kwargsc @ s� e Zd ZdZdd� Zedd� �Zejdd� �Zedd� �Zejd d� �Zed d� �Z e jdd� �Z ed d� �Z e jdd� �Z edd� �Zejdd� �Zedd� �Zejdd� �Zdd� Z dd� Zdd� ZdS )�ModelProvenancez� Model provenance gives data scientists information about the origin of their model. This information allows data scientists to reproduce the development environment in which the model was trained. c K sP ddddddd�| _ ddddddd�| _d | _d | _d | _d | _d | _d | _d S ) a= Initializes a new ModelProvenance object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class): :param repository_url: The value to assign to the repository_url property of this ModelProvenance. :type repository_url: str :param git_branch: The value to assign to the git_branch property of this ModelProvenance. :type git_branch: str :param git_commit: The value to assign to the git_commit property of this ModelProvenance. :type git_commit: str :param script_dir: The value to assign to the script_dir property of this ModelProvenance. :type script_dir: str :param training_script: The value to assign to the training_script property of this ModelProvenance. :type training_script: str :param training_id: The value to assign to the training_id property of this ModelProvenance. :type training_id: str �str)�repository_url� git_branch� git_commit� script_dir�training_script�training_idZ repositoryUrlZ gitBranchZ gitCommitZ scriptDirZtrainingScriptZ trainingIdN)Z swagger_typesZ attribute_map�_repository_url�_git_branch�_git_commit�_script_dir�_training_script�_training_id)�self�kwargs� r �L/usr/lib/python3.9/site-packages/oci/data_science/models/model_provenance.py�__init__ s( � � zModelProvenance.__init__c C s | j S )z� Gets the repository_url of this ModelProvenance. For model reproducibility purposes. URL of the git repository associated with model training. :return: The repository_url of this ModelProvenance. :rtype: str �r �r r r r r I s zModelProvenance.repository_urlc C s || _ dS )a Sets the repository_url of this ModelProvenance. For model reproducibility purposes. URL of the git repository associated with model training. :param repository_url: The repository_url of this ModelProvenance. :type: str Nr )r r r r r r U s c C s | j S )z� Gets the git_branch of this ModelProvenance. For model reproducibility purposes. Branch of the git repository associated with model training. :return: The git_branch of this ModelProvenance. :rtype: str �r r r r r r a s zModelProvenance.git_branchc C s || _ dS )z� Sets the git_branch of this ModelProvenance. For model reproducibility purposes. Branch of the git repository associated with model training. :param git_branch: The git_branch of this ModelProvenance. :type: str Nr )r r r r r r m s c C s | j S )z� Gets the git_commit of this ModelProvenance. For model reproducibility purposes. Commit ID of the git repository associated with model training. :return: The git_commit of this ModelProvenance. :rtype: str �r r r r r r y s zModelProvenance.git_commitc C s || _ dS )a Sets the git_commit of this ModelProvenance. For model reproducibility purposes. Commit ID of the git repository associated with model training. :param git_commit: The git_commit of this ModelProvenance. :type: str Nr )r r r r r r � s c C s | j S )z� Gets the script_dir of this ModelProvenance. For model reproducibility purposes. Path to model artifacts. :return: The script_dir of this ModelProvenance. :rtype: str �r r r r r r � s zModelProvenance.script_dirc C s || _ dS )z� Sets the script_dir of this ModelProvenance. For model reproducibility purposes. Path to model artifacts. :param script_dir: The script_dir of this ModelProvenance. :type: str Nr )r r r r r r � s c C s | j S )a Gets the training_script of this ModelProvenance. For model reproducibility purposes. Path to the python script or notebook in which the model was trained." :return: The training_script of this ModelProvenance. :rtype: str �r r r r r r � s zModelProvenance.training_scriptc C s || _ dS )a Sets the training_script of this ModelProvenance. For model reproducibility purposes. Path to the python script or notebook in which the model was trained." :param training_script: The training_script of this ModelProvenance. :type: str Nr )r r r r r r � s c C s | j S )ay Gets the training_id of this ModelProvenance. The `OCID`__ of a training session(Job or NotebookSession) in which the model was trained. It is used for model reproducibility purposes. __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm :return: The training_id of this ModelProvenance. :rtype: str �r r r r r r � s zModelProvenance.training_idc C s || _ dS )a� Sets the training_id of this ModelProvenance. The `OCID`__ of a training session(Job or NotebookSession) in which the model was trained. It is used for model reproducibility purposes. __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm :param training_id: The training_id of this ModelProvenance. :type: str Nr )r r r r r r � s c C s t | �S �N)r r r r r �__repr__� s zModelProvenance.__repr__c C s |d u rdS | j |j kS )NF)�__dict__�r �otherr r r �__eq__� s zModelProvenance.__eq__c C s | |k S r r r# r r r �__ne__� s zModelProvenance.__ne__N)�__name__� __module__�__qualname__�__doc__r �propertyr �setterr r r r r r! r% r&