original_docstring: catalog service relies on contact and author to define access rights
docstring: catalog service relies on contact and author to define access rights
docstring_tokens: catalog service relies on contact and author to define access rights
code: def check_contact_in_authors(cls, v, values):
          """catalog service relies on contact and author to define access rights"""
          authors_emails = {author.email for author in values["authors"]}
          if v not in authors_emails:
              raise ValueError("Contact {v} must be registered as an author")
          return v
code_tokens: def check_contact_in_authors ( cls , v , values ) : authors_emails = { author . email for author in values [ "authors" ] } if v not in authors_emails : raise ValueError ( "Contact {v} must be registered as an author" ) return v
short_docstring: catalog service relies on contact and author to define access rights
short_docstring_tokens: catalog service relies on contact and author to define access rights
comment: """catalog service relies on contact and author to define access rights"""