    def get_code(self) -> str | None:
        """
        This method should only be called after the request was done and might be None when no token is given.

        :return: Authorization code or None if the request was not performed yet
        """
        return self._code
This method should only be called after the request was done and might be None when no token is given.

:return: Authorization code or None if the request was not performed yet
src/bentoml_cli/auth_server.py