parameters: (self)
return_statement: return self.galleries.filter(is_public=True)
docstring: Return the public galleries to which this photo belongs.
docstring_summary: Return the public galleries to which this photo belongs.
docstring_tokens: Return the public galleries to which this photo belongs .
function: def public_galleries(self):
          """Return the public galleries to which this photo belongs."""
          return self.galleries.filter(is_public=True)
function_tokens: def public_galleries ( self ) : return self . galleries . filter ( is_public = True )