Skip to content

Commit

Permalink
Remove commented code.
Browse files Browse the repository at this point in the history
  • Loading branch information
recalcitrantsupplant committed Sep 11, 2024
1 parent 16fcc5f commit 5cec689
Showing 1 changed file with 0 additions and 32 deletions.
32 changes: 0 additions & 32 deletions prez/models/query_params.py
Original file line number Diff line number Diff line change
@@ -1,43 +1,11 @@
import json
from datetime import datetime
from enum import Enum
from typing import Optional, List, Tuple, Union

from fastapi import HTTPException, Query, Depends

from prez.enums import FilterLangEnum, OrderByDirectionEnum

# NON_ANOT_RDF_MEDIA_TYPES = {
# "application/ld+json",
# "application/rdf+xml",
# "text/turtle",
# "application/n-triples",
# }
# ANOT_RDF_MEDIA_TYPES = {f"{type_}/anot+{subtype}"
# for type_, subtype in (mt.split("/") for mt in NON_ANOT_RDF_MEDIA_TYPES)}
#
# SPARQL_QUERY_MEDIA_TYPE = {"application/sparql-query"}
# JSON_MEDIA_TYPE = {"application/json"}
# GEOJSON_MEDIA_TYPE = {"application/geo+json"}
#
# STANDARD_MEDIA_TYPES = (
# SPARQL_QUERY_MEDIA_TYPE
# | NON_ANOT_RDF_MEDIA_TYPES
# | ANOT_RDF_MEDIA_TYPES
# )
#
# ALLOWED_OGC_FEATURES_COLLECTIONS_MEDIA_TYPES = (
# JSON_MEDIA_TYPE
# | NON_ANOT_RDF_MEDIA_TYPES
# | SPARQL_QUERY_MEDIA_TYPE
# )
#
# ALLOWED_OGC_FEATURES_INSTANCE_MEDIA_TYPES = (
# GEOJSON_MEDIA_TYPE
# | NON_ANOT_RDF_MEDIA_TYPES
# | SPARQL_QUERY_MEDIA_TYPE
# )

DateTimeOrUnbounded = Union[datetime, str, None]


Expand Down

0 comments on commit 5cec689

Please sign in to comment.