alexcasalboni/ssm-cache-python

Improve "internal" consistency for individual params of a group

Open

#16 opened on Feb 28, 2018

View on GitHub
 (0 comments) (0 reactions) (0 assignees)Python (20 forks)github user discovery
enhancementhelp wantedquestion

Repository metrics

Stars
 (209 stars)
PR merge metrics
 (Avg merge 9d 9h) (3 merged PRs in 30d)

Description

_max_age and _last_refresh_time are not currently "shared" between a SSMParameterGroup and its SSMParameter objects.

While #14 has fixed the refreshing bug due to this inconsistency, we could somehow keep the internal Refreshable fields in sync between a group and its parameters to avoid more problems in the future. The current solution always delegates _should_refresh to the group.

Contributor guide