Skip to content

Commit

Permalink
docs: Minor update to include_attributes
Browse files Browse the repository at this point in the history
  • Loading branch information
gtempus committed Jan 19, 2024
1 parent c9802fd commit 1db2c5a
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions app/routes/nasa_viirs_fire_alerts/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,18 +9,17 @@


async def include_attributes(
include_attribute: Optional[List[SupportedAttribute]] = Query( # type: ignore
include_attribute: Optional[List[SupportedAttribute]] = Query(
default_attributes,
title="Supported Attributes",
description="Select which attributes to include in vector tile. Will always show attribute count. "
"Documentation list available attributes of latest version. For legacy version "
"please check data-api for available attribute values.",
),
) -> List[SupportedAttribute]:
attributes: List[SupportedAttribute] = list()
if include_attribute:
for attribute in include_attribute:
attributes.append(attribute) # type: ignore
attributes.append(attribute)
return attributes


Expand Down

0 comments on commit 1db2c5a

Please sign in to comment.