Skip to content

Commit 04df05e

Browse files
committed
docs: fix code indentation in usage.rst
1 parent d91d1e9 commit 04df05e

File tree

1 file changed

+16
-16
lines changed

1 file changed

+16
-16
lines changed

docs/source/usage.rst

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -51,22 +51,22 @@ containing a task parameter ``item_id`` and generates a STAC Item with this ID.
5151
# override from Task
5252
def process(self, **kwargs: Any) -> list[dict[str, Any]]:
5353
item = Item(
54-
id=self.task_options["item_id"],
55-
geometry={
56-
"type": "Polygon",
57-
"coordinates": [
58-
[
59-
[100.0, 0.0],
60-
[101.0, 0.0],
61-
[101.0, 1.0],
62-
[100.0, 1.0],
63-
[100.0, 0.0],
64-
]
65-
],
66-
},
67-
bbox=None,
68-
datetime=datetime.now(timezone.utc),
69-
properties={},
54+
id=self.task_options["item_id"],
55+
geometry={
56+
"type": "Polygon",
57+
"coordinates": [
58+
[
59+
[100.0, 0.0],
60+
[101.0, 0.0],
61+
[101.0, 1.0],
62+
[100.0, 1.0],
63+
[100.0, 0.0],
64+
]
65+
],
66+
},
67+
bbox=None,
68+
datetime=datetime.now(timezone.utc),
69+
properties={},
7070
)
7171
7272
self.logger.debug(f"Created Item with id '{item.id}'")

0 commit comments

Comments
 (0)