hooks/ceph_radosgw_context.py
def context_complete(self, ctxt):
        """Overridden here to ensure the context is actually complete.

        We set `key` and `auth` to None here, by default, to ensure
        that the context will always evaluate to incomplete until the
        Ceph relation has actually sent these details; otherwise,
        there is a potential race condition between the relation
        appearing and the first unit actually setting this data on the
        relation.

        :param ctxt: The current context members
        :type ctxt: Dict[str, ANY]
        :returns: True if the context is complete
        :rtype: bool
        """
        if 'fsid' not in ctxt:
            return False
        return context.OSContextGenerator.context_complete(self, ctxt)
Overridden here to ensure the context is actually complete.

        We set `key` and `auth` to None here, by default, to ensure
        that the context will always evaluate to incomplete until the
        Ceph relation has actually sent these details; otherwise,
        there is a potential race condition between the relation
        appearing and the first unit actually setting this data on the
        relation.

        :param ctxt: The current context members
        :type ctxt: Dict[str, ANY]
        :returns: True if the context is complete
        :rtype: bool
        
Overridden here to ensure the context is actually complete.
We set `key` and `auth` to None here, by default, to ensure
that the context will always evaluate to incomplete until the
Ceph relation has actually sent these details; otherwise,
there is a potential race condition between the relation
appearing and the first unit actually setting this data on the
relation.
Overridden here to ensure the context is actually complete . We set ` key ` and ` auth ` to None here by default to ensure that the context will always evaluate to incomplete until the Ceph relation has actually sent these details ; otherwise there is a potential race condition between the relation appearing and the first unit actually setting this data on the relation .
def context_complete(self, ctxt):
        if 'fsid' not in ctxt:
            return False
        return context.OSContextGenerator.context_complete(self, ctxt)
def context_complete ( self , ctxt ) : if 'fsid' not in ctxt : return False return context . OSContextGenerator . context_complete ( self , ctxt )
Overridden here to ensure the context is actually complete.
Overridden here to ensure the context is actually complete .
"""Overridden here to ensure the context is actually complete.

        We set `key` and `auth` to None here, by default, to ensure
        that the context will always evaluate to incomplete until the
        Ceph relation has actually sent these details; otherwise,
        there is a potential race condition between the relation
        appearing and the first unit actually setting this data on the
        relation.

        :param ctxt: The current context members
        :type ctxt: Dict[str, ANY]
        :returns: True if the context is complete
        :rtype: bool
        """
True if the context is complete
True if the context is complete
bool
self
ctxt
The current context members
The current context members