Skip to content

Commit

Permalink
ressources -> resources (#210)
Browse files Browse the repository at this point in the history
* ressources -> resources

* Update changelog
  • Loading branch information
drnextgis authored Feb 3, 2021
1 parent f8ff73f commit 076fad6
Show file tree
Hide file tree
Showing 10 changed files with 8 additions and 7 deletions.
1 change: 1 addition & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

* update FastAPI requirements
* add `validate` in `MosaicTilerFactory` (https://github.com/developmentseed/titiler/pull/206, author @drnextgis)
* rename `ressources` package to `resources` (https://github.com/developmentseed/titiler/pull/210, author @drnextgis)

## 0.1.0a14 (2021-01-05)

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ titiler/ - titiler python module.
│ ├── factory.py - TiTiler Router Factories.
│ └── tms.py - TileMatrixSets endpoints.
├── models/ - pydantic models for this application.
├── ressources/ - application resources (enums, constants, etc.).
├── resources/ - application resources (enums, constants, etc.).
├── templates/ - html/xml models.
├── middleware.py - Custom Starlette middlewares.
├── dependencies.py - API dependencies.
Expand Down
2 changes: 1 addition & 1 deletion tests/test_enums.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import pytest
from rio_tiler.profiles import img_profiles

from titiler.ressources.enums import ImageType
from titiler.resources.enums import ImageType


@pytest.mark.parametrize(
Expand Down
4 changes: 2 additions & 2 deletions titiler/endpoints/factory.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@
from ..models.mapbox import TileJSON
from ..models.mosaic import CreateMosaicJSON, UpdateMosaicJSON
from ..models.OGC import TileMatrixSetList
from ..ressources.enums import ImageType, MimeTypes, PixelSelectionMethod
from ..ressources.responses import GeoJSONResponse, XMLResponse
from ..resources.enums import ImageType, MimeTypes, PixelSelectionMethod
from ..resources.responses import GeoJSONResponse, XMLResponse
from ..templates import templates

from fastapi import APIRouter, Depends, Path, Query
Expand Down
2 changes: 1 addition & 1 deletion titiler/endpoints/stac.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

from .. import utils
from ..dependencies import DefaultDependency
from ..ressources.responses import GeoJSONResponse
from ..resources.responses import GeoJSONResponse
from ..templates import templates
from .factory import TilerFactory

Expand Down
2 changes: 1 addition & 1 deletion titiler/models/OGC.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

from pydantic import AnyHttpUrl, BaseModel

from ..ressources.enums import MimeTypes
from ..resources.enums import MimeTypes


class TileMatrixSetLink(BaseModel):
Expand Down
1 change: 1 addition & 0 deletions titiler/resources/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
"""titiler.resources."""
File renamed without changes.
File renamed without changes.
1 change: 0 additions & 1 deletion titiler/ressources/__init__.py

This file was deleted.

0 comments on commit 076fad6

Please sign in to comment.