Skip to content

Commit

Permalink
Python 3.8 type hint fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Markus-Goetz committed Jul 10, 2024
1 parent 190b5d5 commit 8ce3cd4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions paint/data/catalog_stac.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@
import argparse
import json
import pathlib
from typing import Any
from typing import Any, Dict

import paint.util.paint_mappings as mappings


def make_catalog() -> dict[str, Any]:
def make_catalog() -> Dict[str, Any]:
"""
Generate the catalog STAC.
Expand Down Expand Up @@ -47,7 +47,7 @@ def make_catalog() -> dict[str, Any]:
}


def save_catalog(arguments: argparse.Namespace, catalog: dict[str, Any]) -> None:
def save_catalog(arguments: argparse.Namespace, catalog: Dict[str, Any]) -> None:
"""
Save a catalog to disk.
Expand Down

0 comments on commit 8ce3cd4

Please sign in to comment.