def METHOD_NAME(self, pipeline_filepath: str, pipeline_name: str) -> None:
    """
    Push a DAG to a gitlab project
    :param pipeline_filepath: filepath to the location of the DAG in the local filesystem
    :param pipeline_name: the name of the file to be created in the gitlab project
    :return:
    """
    try:
        # Upload DAG to gitlab project
        with open(pipeline_filepath) as input_file:
            content = input_file.read()
            git_file_name = f"{pipeline_name}.py"
            self.gitlab_project.files.create(
                {
                    "file_path": git_file_name,
                    "branch": self.branch,
                    "content": content,
                    "commit_message": f"Pushed DAG {pipeline_name}",
                }
            )
        self.log.info(f"DAG file {git_file_name} was successfully uploaded to branch {self.branch}.")
    except FileNotFoundError as fnfe:
        self.log.error(f"Unable to locate local DAG file to upload: {pipeline_filepath}: " + str(fnfe))
        raise RuntimeError(f"Unable to locate local DAG file to upload: {pipeline_filepath}: {str(fnfe)}") from fnfe
    except GitlabError as gle:
        self.log.error(f"Error uploading DAG to branch {self.branch}: {gle}")
        raise RuntimeError(
            f"Error uploading DAG to branch {self.branch}: {gle} "
            "Please validate your runtime configuration details and try again."
        ) from gle