Skip to content

Commit

Permalink
Fix aioboto3 package version requirements
Browse files Browse the repository at this point in the history
  • Loading branch information
vemel committed Dec 27, 2024
1 parent 99d4617 commit 97d0994
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions mypy_boto3_builder/structures/packages/types_aioboto3_package.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
"""

from mypy_boto3_builder.structures.packages.wrapper_package import WrapperPackage
from mypy_boto3_builder.utils.version import get_max_build_version, get_min_build_version
from mypy_boto3_builder.utils.version_getters import get_aiobotocore_version


class TypesAioBoto3Package(WrapperPackage):
Expand All @@ -20,3 +22,17 @@ def get_all_names(self) -> list[str]:
"Session",
]
return sorted(result)

@property
def min_library_version(self) -> str:
"""
Minimum required library version.
"""
return get_min_build_version(get_aiobotocore_version())

@property
def max_library_version(self) -> str:
"""
Minimum required library version.
"""
return get_max_build_version(get_aiobotocore_version())

0 comments on commit 97d0994

Please sign in to comment.