From 8c55b425cf933c3a2f880ee3fdc3247dd6ceda8a Mon Sep 17 00:00:00 2001 From: MystyPy Date: Fri, 26 Apr 2024 11:47:44 +1000 Subject: [PATCH] Export RateLimitData --- starlette_plus/__init__.py | 1 + starlette_plus/types_/__init__.py | 15 +++++++++++++++ 2 files changed, 16 insertions(+) create mode 100644 starlette_plus/types_/__init__.py diff --git a/starlette_plus/__init__.py b/starlette_plus/__init__.py index 56b1b14..f17969f 100644 --- a/starlette_plus/__init__.py +++ b/starlette_plus/__init__.py @@ -29,4 +29,5 @@ from . import middleware as middleware from .core import * from .redis import Redis as Redis +from .types_ import * from .utils import * diff --git a/starlette_plus/types_/__init__.py b/starlette_plus/types_/__init__.py new file mode 100644 index 0000000..d320675 --- /dev/null +++ b/starlette_plus/types_/__init__.py @@ -0,0 +1,15 @@ +"""Copyright 2024 PythonistaGuild + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +""" +from .limiter import RateLimitData as RateLimitData