Skip to content

Commit

Permalink
remove prints
Browse files Browse the repository at this point in the history
  • Loading branch information
danielreti committed Jul 17, 2023
1 parent 6ad4534 commit 6d8b057
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions api/graphql/schema.py
Original file line number Diff line number Diff line change
Expand Up @@ -148,14 +148,12 @@ async def samples(
meta: GraphQLMetaFilter | None = None,
) -> list['GraphQLSample']:
loader = info.context[LoaderKeys.SAMPLES_FOR_PROJECTS]
print(id)
filter_ = SampleFilter(
type=type.to_internal_filter() if type else None,
external_id=external_id.to_internal_filter() if external_id else None,
id=id.to_internal_filter(sample_id_transform_to_raw) if id else None,
meta=meta,
)
print(filter_)
samples = await loader.load({'id': root.id, 'filter': filter_})
return [GraphQLSample.from_internal(p) for p in samples]

Expand Down Expand Up @@ -370,7 +368,6 @@ class GraphQLSample:

@staticmethod
def from_internal(sample: SampleInternal):
print(sample.id)
return GraphQLSample(
id=sample_id_format(sample.id),
external_id=sample.external_id,
Expand Down

0 comments on commit 6d8b057

Please sign in to comment.