[09:46] <bthomas> Chipaca: I wasn't mocking you on MM. Dylan mentioned that it was possible to find the IP address of the unit executing a charm hook by passing no argument to get_binding. I thought that was odd because the argument was not optional, and if that was indeed the behaviour I felt you ought to be informed.
[09:47] <bthomas> It turns out that Dylan had it wrong and you can not call that function without an argument.
[10:59] <facubatista> ¡Muy buenos días a todos!
[11:00] <bthomas> नमस्ते facubatista
[11:01] <facubatista> hola bthomas
[11:02] <bthomas> I have a module variable SEED_SIZE in my Charm. I was thinking I could access this as self.harness.charm.SEED_SIZE . But this does not turn out to be the case. Is there any other way ?
[11:06] <bthomas> Alternatively would it be better to eschew module variables that change pod_spec and use charm config instead to allow for better testability ?
[11:11] <Chipaca> bthomas: a module variable? it'd be just <module>.SEED_SIZE
[11:11] <bthomas> thanks
[11:11] <Chipaca> bthomas: i mean, you did 'from charm import MyCharm' or something like that, then 'from charm import SEED_SIZE', or 'import charm' and then use charm.SEED_SIZE
[11:11] <Chipaca> anyway, i'm off for a bit
[11:12]  * Chipaca ⇝ runch
[11:12] <bthomas> Chipaca: thanks got it
[13:17]  * facubatista -> errands (ones I cancelled yesterday :p )
[13:44]  * Chipaca can't read 'errand' without thinking of the belgariad
[14:08]  * facubatista is back
[16:55] <mup> PR operator#417 closed: Added a few doc strings to charm module <Created by balbirthomas> <Merged by chipaca> <https://github.com/canonical/operator/pull/417>
[18:20]  * Chipaca EODs
[18:20] <mup> PR operator#422 closed: Allow nesting of disable_hooks context manager <Created by stub42> <Merged by chipaca> <https://github.com/canonical/operator/pull/422>
[18:38] <facubatista> bthomas, justinclark, review appreciated on this simple preparation PR: https://github.com/canonical/charmcraft/pull/172 -- thanks!
[18:38] <mup> PR charmcraft#172: Small improvements in preparation for the commands refactor branch <Created by facundobatista> <https://github.com/canonical/charmcraft/pull/172>