Skip to content

Commit f4c4d84

Browse files
authored
Merge pull request #27 from AllenInstitute/patch/loosen-aibs-info-deps
Loosen aibs-informatics-* dependencies
2 parents 0591f2b + 38afea0 commit f4c4d84

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

pyproject.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ dynamic = [
1818
"version",
1919
]
2020
dependencies = [
21-
"aibs-informatics-aws-utils~=0.0.8",
22-
"aibs-informatics-core~=0.1.0",
21+
"aibs-informatics-aws-utils>=0.0.8,<1",
22+
"aibs-informatics-core~=0.1",
2323
"aws-lambda-powertools ~= 2.35",
2424
"pydantic >= 2.0.3, < 3",
2525
"aws-lambda-typing",
@@ -247,4 +247,4 @@ tag_name = "v{new_version}"
247247
[[tool.bumpversion.files]]
248248
filename = "src/aibs_informatics_aws_lambda/_version.py"
249249
search = "__version__ = \"{current_version}\""
250-
replace = "__version__ = \"{new_version}\""
250+
replace = "__version__ = \"{new_version}\""

src/aibs_informatics_aws_lambda/handlers/notifications/model.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ class NotificationRequest(SchemaModel):
5757
content: NotificationContent = custom_field(mm_field=NotificationContent.as_mm_field())
5858
targets: List[Union[SESEmailTarget, SNSTopicTarget]] = custom_field(
5959
mm_field=ListField(
60-
UnionField([(_, _.as_mm_field()) for _ in [SESEmailTarget, SNSTopicTarget]]), # type: ignore[list-item]
60+
UnionField([(_, _.as_mm_field()) for _ in [SESEmailTarget, SNSTopicTarget]]), # type: ignore[list-item, misc]
6161
),
6262
)
6363

0 commit comments

Comments
 (0)