Skip to content

Commit

Permalink
remove constructor
Browse files Browse the repository at this point in the history
  • Loading branch information
ChrOertlin committed Apr 5, 2024
1 parent f8f01c7 commit 14032b6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion genotype_api/services/endpoint_services/sample_service.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ def get_samples(self, filter_params: SampleFilterParams) -> list[SampleResponse]
return [self._get_sample_response(sample) for sample in samples]

def create_sample(self, sample_create: SampleCreate) -> None:
sample: Sample = Sample(
sample = Sample(
id=sample_create.id,
status=sample_create.status,
comment=sample_create.comment,
Expand Down

0 comments on commit 14032b6

Please sign in to comment.