Skip to content

Commit 478fc10

Browse files
committed
Remove pipeline_type and is_archived from custom process input
1 parent 9c63752 commit 478fc10

1 file changed

Lines changed: 0 additions & 18 deletions

File tree

cirro_api_client/v1/models/custom_process_input.py

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@ class CustomProcessInput:
3030
data_type (Union[None, Unset, str]): Name of the data type this pipeline produces (if it is not defined, use the
3131
name)
3232
category (Union[Unset, str]): Category of the process Example: Microbial Analysis.
33-
pipeline_type (Union[Unset, str]): Type of pipeline Example: nf-core.
3433
documentation_url (Union[None, Unset, str]): Link to process documentation Example:
3534
https://docs.cirro.bio/pipelines/catalog_targeted_sequencing/#crispr-screen-analysis.
3635
file_requirements_message (Union[None, Unset, str]): Description of the files to be uploaded (optional)
@@ -39,7 +38,6 @@ class CustomProcessInput:
3938
allow_multiple_sources (Union[Unset, bool]): Whether the pipeline is allowed to have multiple dataset sources
4039
uses_sample_sheet (Union[Unset, bool]): Whether the pipeline uses the Cirro-provided sample sheet
4140
custom_settings (Union['CustomPipelineSettings', None, Unset]):
42-
is_archived (Union[Unset, bool]): Whether the process is marked as archived
4341
file_mapping_rules (Union[List['FileMappingRule'], None, Unset]):
4442
"""
4543

@@ -52,15 +50,13 @@ class CustomProcessInput:
5250
linked_project_ids: List[str]
5351
data_type: Union[None, Unset, str] = UNSET
5452
category: Union[Unset, str] = UNSET
55-
pipeline_type: Union[Unset, str] = UNSET
5653
documentation_url: Union[None, Unset, str] = UNSET
5754
file_requirements_message: Union[None, Unset, str] = UNSET
5855
pipeline_code: Union["PipelineCode", None, Unset] = UNSET
5956
is_tenant_wide: Union[Unset, bool] = UNSET
6057
allow_multiple_sources: Union[Unset, bool] = UNSET
6158
uses_sample_sheet: Union[Unset, bool] = UNSET
6259
custom_settings: Union["CustomPipelineSettings", None, Unset] = UNSET
63-
is_archived: Union[Unset, bool] = UNSET
6460
file_mapping_rules: Union[List["FileMappingRule"], None, Unset] = UNSET
6561
additional_properties: Dict[str, Any] = _attrs_field(init=False, factory=dict)
6662

@@ -90,8 +86,6 @@ def to_dict(self) -> Dict[str, Any]:
9086

9187
category = self.category
9288

93-
pipeline_type = self.pipeline_type
94-
9589
documentation_url: Union[None, Unset, str]
9690
if isinstance(self.documentation_url, Unset):
9791
documentation_url = UNSET
@@ -126,8 +120,6 @@ def to_dict(self) -> Dict[str, Any]:
126120
else:
127121
custom_settings = self.custom_settings
128122

129-
is_archived = self.is_archived
130-
131123
file_mapping_rules: Union[List[Dict[str, Any]], None, Unset]
132124
if isinstance(self.file_mapping_rules, Unset):
133125
file_mapping_rules = UNSET
@@ -157,8 +149,6 @@ def to_dict(self) -> Dict[str, Any]:
157149
field_dict["dataType"] = data_type
158150
if category is not UNSET:
159151
field_dict["category"] = category
160-
if pipeline_type is not UNSET:
161-
field_dict["pipelineType"] = pipeline_type
162152
if documentation_url is not UNSET:
163153
field_dict["documentationUrl"] = documentation_url
164154
if file_requirements_message is not UNSET:
@@ -173,8 +163,6 @@ def to_dict(self) -> Dict[str, Any]:
173163
field_dict["usesSampleSheet"] = uses_sample_sheet
174164
if custom_settings is not UNSET:
175165
field_dict["customSettings"] = custom_settings
176-
if is_archived is not UNSET:
177-
field_dict["isArchived"] = is_archived
178166
if file_mapping_rules is not UNSET:
179167
field_dict["fileMappingRules"] = file_mapping_rules
180168

@@ -212,8 +200,6 @@ def _parse_data_type(data: object) -> Union[None, Unset, str]:
212200

213201
category = d.pop("category", UNSET)
214202

215-
pipeline_type = d.pop("pipelineType", UNSET)
216-
217203
def _parse_documentation_url(data: object) -> Union[None, Unset, str]:
218204
if data is None:
219205
return data
@@ -272,8 +258,6 @@ def _parse_custom_settings(data: object) -> Union["CustomPipelineSettings", None
272258

273259
custom_settings = _parse_custom_settings(d.pop("customSettings", UNSET))
274260

275-
is_archived = d.pop("isArchived", UNSET)
276-
277261
def _parse_file_mapping_rules(data: object) -> Union[List["FileMappingRule"], None, Unset]:
278262
if data is None:
279263
return data
@@ -306,15 +290,13 @@ def _parse_file_mapping_rules(data: object) -> Union[List["FileMappingRule"], No
306290
linked_project_ids=linked_project_ids,
307291
data_type=data_type,
308292
category=category,
309-
pipeline_type=pipeline_type,
310293
documentation_url=documentation_url,
311294
file_requirements_message=file_requirements_message,
312295
pipeline_code=pipeline_code,
313296
is_tenant_wide=is_tenant_wide,
314297
allow_multiple_sources=allow_multiple_sources,
315298
uses_sample_sheet=uses_sample_sheet,
316299
custom_settings=custom_settings,
317-
is_archived=is_archived,
318300
file_mapping_rules=file_mapping_rules,
319301
)
320302

0 commit comments

Comments
 (0)