| Conditions | 3 |
| Total Lines | 8 |
| Code Lines | 7 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | import operator |
||
| 47 | def git_commits(repo_url: str): |
||
| 48 | with TemporaryDirectory() as temp_dir: |
||
| 49 | repo_path = Path(temp_dir) / 'magika' |
||
| 50 | |||
| 51 | with git.Repo.clone_from(repo_url, repo_path) as repo: |
||
| 52 | model = create_graph_model(repo) |
||
| 53 | schema = graphinate.builders.GraphQLBuilder(model).build() |
||
| 54 | graphinate.graphql.server(schema) |
||
| 55 | |||
| 60 |