f44d55a1c9b8838ae55ec7dedc71ed81f30597d4,polyaxon/db/models/experiments.py,Experiment,specification,#Experiment#,155
Before Change
@cached_property
def specification(self) -> "ExperimentSpecification":
return ExperimentSpecification(values=self.content) if self.content else None
@property
def has_specification(self) -> bool:
return self.content is not None
After Change
@cached_property
def specification(self) -> Optional["ExperimentSpecification"]:
return compiler.compile(kind=kinds.EXPERIMENT, content=self.content)
@property
def has_specification(self) -> bool:
return self.content is not None
In pattern: SUPERPATTERN
Frequency: 6
Non-data size: 6
Instances
Project Name: polyaxon/polyaxon
Commit Name: f44d55a1c9b8838ae55ec7dedc71ed81f30597d4
Time: 2019-06-25
Author: mouradmourafiq@gmail.com
File Name: polyaxon/db/models/experiments.py
Class Name: Experiment
Method Name: specification
Project Name: polyaxon/polyaxon
Commit Name: f44d55a1c9b8838ae55ec7dedc71ed81f30597d4
Time: 2019-06-25
Author: mouradmourafiq@gmail.com
File Name: polyaxon/db/models/notebooks.py
Class Name: NotebookJob
Method Name: specification
Project Name: polyaxon/polyaxon
Commit Name: f44d55a1c9b8838ae55ec7dedc71ed81f30597d4
Time: 2019-06-25
Author: mouradmourafiq@gmail.com
File Name: polyaxon/db/models/jobs.py
Class Name: Job
Method Name: specification
Project Name: polyaxon/polyaxon
Commit Name: f44d55a1c9b8838ae55ec7dedc71ed81f30597d4
Time: 2019-06-25
Author: mouradmourafiq@gmail.com
File Name: polyaxon/db/models/build_jobs.py
Class Name: BuildJob
Method Name: specification
Project Name: polyaxon/polyaxon
Commit Name: f44d55a1c9b8838ae55ec7dedc71ed81f30597d4
Time: 2019-06-25
Author: mouradmourafiq@gmail.com
File Name: polyaxon/db/models/pipelines.py
Class Name: Pipeline
Method Name: specification
Project Name: polyaxon/polyaxon
Commit Name: f44d55a1c9b8838ae55ec7dedc71ed81f30597d4
Time: 2019-06-25
Author: mouradmourafiq@gmail.com
File Name: polyaxon/db/models/tensorboards.py
Class Name: TensorboardJob
Method Name: specification