async def _get_collection_id(
        self, collection_id: Optional[UUID], auth_user
    ) -> UUID:
        """Helper method to get collection ID, using default if none
        provided."""
        if collection_id is None:
            return generate_default_user_collection_id(auth_user.id)
        return collection_id
Helper method to get collection ID, using default if none
        provided.
py/core/main/api/v3/graph_router.py