INNER CODE UNIT · Python

get_author

phalt/django-api-domains · example_domain/interfaces.py:20

    def get_author(*, id: uuid.UUID) -> Dict:
        return AuthorAPI.get(id=id)

    @staticmethod
    def update_author_name(
      *,
      author_name: Str,
      author_id: uuid.UUID,
    ) -> None:
        AuthorAPI.update_author_name(
            id=author_id,
            name=author_name,
        )

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…