Skip to content

Commit

Permalink
refactor: add docstrings and comments
Browse files Browse the repository at this point in the history
  • Loading branch information
matthiasschaub committed Nov 19, 2024
1 parent cfd6ab6 commit 602899b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions ohsome_quality_api/api/request_models.py
Original file line number Diff line number Diff line change
Expand Up @@ -92,10 +92,12 @@ class AttributeCompletenessFilterRequest(IndicatorRequest):
attribute_filter: str = Field(
...,
title="Attribute Filter",
description="ohsome filter query representing custom attributes.",
)
attribute_names: List[str] = Field(
...,
title="Attribute Names",
description="Names of the attributes represented by the Attribute Filter.",
)


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ def test_indicators_attribute_completeness_without_attribute(
client,
bpolys,
headers,
schema,
schema, # pyright:ignore
):
parameters = {
"bpolys": bpolys,
Expand All @@ -74,7 +74,7 @@ def test_indicators_attribute_completeness_with_invalid_attribute_for_topic(
client,
bpolys,
headers,
schema,
schema, # pyright: ignore
):
parameters = {
"bpolys": bpolys,
Expand Down

0 comments on commit 602899b

Please sign in to comment.