• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

localstack / localstack / 21765279428

06 Feb 2026 08:43PM UTC coverage: 73.535% (-13.3%) from 86.871%
21765279428

Pull #13716

github

web-flow
Merge 0f5988375 into 20cc1b384
Pull Request #13716: Events: improve Store IAM Statement typing

6 of 6 new or added lines in 1 file covered. (100.0%)

9920 existing lines in 273 files now uncovered.

56187 of 76409 relevant lines covered (73.53%)

0.74 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

84.0
/localstack-core/localstack/services/cloudformation/v2/types.py
1
from datetime import datetime
1✔
2
from typing import NotRequired, TypedDict
1✔
3

4
from localstack.aws.api.cloudformation import ResourceStatus
1✔
5

6

7
class EngineParameter(TypedDict):
1✔
8
    """
9
    Parameters supplied by the user. The resolved value field is populated by the engine
10
    """
11

12
    type_: str
1✔
13
    given_value: NotRequired[str | None]
1✔
14
    resolved_value: NotRequired[str | None]
1✔
15
    default_value: NotRequired[str | None]
1✔
16
    no_echo: NotRequired[bool | None]
1✔
17

18

19
def engine_parameter_value(parameter: EngineParameter) -> str:
1✔
20
    given_value = parameter.get("given_value")
1✔
21
    if given_value is not None:
1✔
22
        return given_value
1✔
23

UNCOV
24
    default_value = parameter.get("default_value")
×
UNCOV
25
    if default_value is not None:
×
UNCOV
26
        return default_value
×
27

28
    raise RuntimeError("Parameter value is None")
×
29

30

31
class ResolvedResource(TypedDict):
1✔
32
    LogicalResourceId: str
1✔
33
    Type: str
1✔
34
    Properties: dict
1✔
35
    LastUpdatedTimestamp: datetime
1✔
36
    ResourceStatus: NotRequired[ResourceStatus]
1✔
37
    PhysicalResourceId: NotRequired[str]
1✔
38
    ResourceStatusReason: NotRequired[str]
1✔
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc