-
Notifications
You must be signed in to change notification settings - Fork 112
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add list of preconditions to event docstrings #543
Comments
I wonder if this should be in the docstring of |
Enumerating entry pathways is also useful, for example:
|
I think we can probably improve our docs here in places, however, I think it's probably better that the details are described in the Juju docs rather than in the ops API docs. We could even shorten our ops docs in some cases, and perhaps link to the relevant Juju doc. |
@tmihoc You had some thoughts about making Juju event docs clearer -- what was your concrete plan for that again? |
It would be valuable to document what each event guarantees.
For example, "RelationJoinedEvent" guarantees (i.e. has a precondition) that peer buckets are visible (cf. #542).
operator/ops/charm.py
Lines 352 to 362 in 37e3399
The text was updated successfully, but these errors were encountered: