Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# devops-driver

![status sheild](https://img.shields.io/static/v1?label=status&message=beta&color=blue&style=plastic)
[![status sheild](https://img.shields.io/static/v1?label=released&message=v0.1.50&color=active&style=plastic)](https://pypi.org/project/devopsdriver/0.1.50/)
[![status sheild](https://img.shields.io/static/v1?label=released&message=v0.1.51&color=active&style=plastic)](https://pypi.org/project/devopsdriver/0.1.51/)
[![GitHub](https://img.shields.io/github/license/marcpage/devops-driver?style=plastic)](https://github.com/marcpage/devops-driver?tab=Unlicense-1-ov-file#readme)
[![GitHub contributors](https://img.shields.io/github/contributors/marcpage/devops-driver?style=flat)](https://github.com/marcpage/devops-driver/graphs/contributors)
[![PR's Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=flat)](http://makeapullrequest.com)
Expand Down
2 changes: 1 addition & 1 deletion devopsdriver/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@
from .github.client import Github


__version__ = "0.1.50"
__version__ = "0.1.51"
__author__ = "Marc Page"
__credits__ = ""
2 changes: 2 additions & 0 deletions devopsdriver/azdo/clients.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ def __init__(
"core": self.connection.clients_v7_1.get_core_client,
"build": self.connection.clients_v7_1.get_build_client,
"identity": self.connection.clients_v7_1.get_identity_client,
"graph": self.connection.clients_v7_1.get_graph_client,
}
unsupported_clients = set(clients) - set(client_calls)
assert not unsupported_clients, f"{unsupported_clients} not supported"
Expand All @@ -63,6 +64,7 @@ def __init__(
self.git = Azure._Client(Azure.__client("git", clients, client_calls))
self.build = BClient(Azure.__client("build", clients, client_calls))
self.identity = Azure._Client(Azure.__client("identity", clients, client_calls))
self.graph = Azure._Client(Azure.__client("graph", clients, client_calls))

@staticmethod
def __client(name: str, clients: dict, calls: dict) -> any:
Expand Down
3 changes: 2 additions & 1 deletion tests/test_azure_clients.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/usr/bin/env python3


""" test azure client logic """
"""test azure client logic"""


from tempfile import TemporaryDirectory
Expand Down Expand Up @@ -32,6 +32,7 @@ class Clients71: # pylint: disable=too-few-public-methods
"get_core_client",
"get_build_client",
"get_identity_client",
"get_graph_client",
}

def __getattr__(self, name: str) -> str:
Expand Down