From 14b906293288496434629389f8ed90687e2c307f Mon Sep 17 00:00:00 2001 From: mrsmrynk Date: Sun, 22 Dec 2024 14:22:07 +0100 Subject: [PATCH] expose type aliases --- aviary/__init__.py | 16 ++++++++++++++++ docs/api_reference/types.md | 16 ++++++++-------- 2 files changed, 24 insertions(+), 8 deletions(-) diff --git a/aviary/__init__.py b/aviary/__init__.py index e5f97cf5..f6438ab7 100644 --- a/aviary/__init__.py +++ b/aviary/__init__.py @@ -4,13 +4,21 @@ ) from ._utils.types import ( BoundingBox, + BufferSize, Channel, + Channels, + Coordinate, + Coordinates, + CoordinatesSet, Device, + EPSGCode, GeospatialFilterMode, + GroundSamplingDistance, InterpolationMode, ProcessArea, ProcessAreaConfig, SetFilterMode, + TileSize, WMSVersion, ) @@ -18,14 +26,22 @@ 'AviaryUserError', 'AviaryUserWarning', 'BoundingBox', + 'BufferSize', 'Channel', + 'Channels', + 'Coordinate', + 'Coordinates', + 'CoordinatesSet', 'Device', + 'EPSGCode', 'GeospatialFilterMode', + 'GroundSamplingDistance', 'InterpolationMode', 'ProcessArea', 'ProcessAreaConfig', 'SetFilterMode', 'WMSVersion', + 'TileSize', '__version__', ] diff --git a/docs/api_reference/types.md b/docs/api_reference/types.md index 849743d4..c8ff8196 100644 --- a/docs/api_reference/types.md +++ b/docs/api_reference/types.md @@ -1,46 +1,46 @@ -::: aviary._utils.types.BufferSize +::: aviary.BufferSize options: show_symbol_type_heading: false show_symbol_type_toc: false show_labels: false -::: aviary._utils.types.Channels +::: aviary.Channels options: show_symbol_type_heading: false show_symbol_type_toc: false show_labels: false -::: aviary._utils.types.Coordinate +::: aviary.Coordinate options: show_symbol_type_heading: false show_symbol_type_toc: false show_labels: false -::: aviary._utils.types.Coordinates +::: aviary.Coordinates options: show_symbol_type_heading: false show_symbol_type_toc: false show_labels: false -::: aviary._utils.types.CoordinatesSet +::: aviary.CoordinatesSet options: show_symbol_type_heading: false show_symbol_type_toc: false show_labels: false -::: aviary._utils.types.EPSGCode +::: aviary.EPSGCode options: show_symbol_type_heading: false show_symbol_type_toc: false show_labels: false -::: aviary._utils.types.GroundSamplingDistance +::: aviary.GroundSamplingDistance options: show_symbol_type_heading: false show_symbol_type_toc: false show_labels: false -::: aviary._utils.types.TileSize +::: aviary.TileSize options: show_symbol_type_heading: false show_symbol_type_toc: false