Open russlooker opened 3 years ago
proj = lookml.Project( repo=GIT_REPO, access_token=GIT_ACCESS_TOKEN, looker_host='https://example.looker.com/', looker_project_name = LOOKER_PROJECT, branch = GIT_BRANCH ) sb = proj._git_connection.get_branch('master') proj._git_connection.create_git_ref(ref='refs/heads/' + GIT_BRANCH, sha=sb.commit.sha)
wrap those last two lines in a project method
wrap those last two lines in a project method