alexcasalboni / alexcasalboni/ssm-cache-python

Improve "internal" consistency for individual params of a group

Aperta
#16 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
enhancement help wanted question
Lingua principale
Python
Stelle
209
Fork
20
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

`_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.

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.