diff --git a/.gitignore b/.gitignore index 08c9d07..029cfec 100644 --- a/.gitignore +++ b/.gitignore @@ -1,5 +1,6 @@ main.py +.vscode ### Emacs ### # -*- mode: gitignore; -*- *~ diff --git a/README.md b/README.md index 87c2fb1..b7969f6 100644 --- a/README.md +++ b/README.md @@ -29,6 +29,7 @@ client = Resend(api_key="kl_123") ## Example ```py +import os from resend import Resend client = Resend(api_key=os.environ["RESEND_API_KEY"]) diff --git a/requirements.txt b/requirements.txt index 663bd1f..822be75 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1 +1 @@ -requests \ No newline at end of file +requests==2.23.0 \ No newline at end of file diff --git a/resend/exceptions.py b/resend/exceptions.py index cf1d903..30369d8 100644 --- a/resend/exceptions.py +++ b/resend/exceptions.py @@ -113,7 +113,6 @@ def __init__( def raise_for_code_and_type(code, error_type, message: str) -> ResendError: - # Handle the case where the error might be unknown if ERRORS.get(code).get(error_type) is None: raise ResendError() diff --git a/resend/version.py b/resend/version.py index babffa3..d3ff564 100644 --- a/resend/version.py +++ b/resend/version.py @@ -1,4 +1,4 @@ -__version__ = "0.1.0" +__version__ = "0.1.1" def get_version(): diff --git a/setup.py b/setup.py index bd8a989..408b3b6 100644 --- a/setup.py +++ b/setup.py @@ -19,7 +19,7 @@ include_package_data=True, install_requires=install_requires, zip_safe=False, - python_requires=">3.7.5", + python_requires=">=3.7", keywords=["email", "email platform"], classifiers=[ "Development Status :: 4 - Beta", @@ -27,7 +27,6 @@ "License :: OSI Approved :: MIT License", "Natural Language :: English", "Operating System :: OS Independent", - "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.7", "Programming Language :: Python :: 3.8", "Programming Language :: Python :: 3.9",