Skip to content

Commit 3faf8ce

Browse files
committed
Removed msrest from older versions
1 parent 60898fe commit 3faf8ce

File tree

160 files changed

+163
-165
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

160 files changed

+163
-165
lines changed

README.md

Lines changed: 2 additions & 2 deletions

azure-devops/azure/devops/_models.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
# regenerated.
66
# --------------------------------------------------------------------------
77

8-
from msrest.serialization import Model
8+
from azure.core.serialization import Model
99

1010

1111
class ApiResourceLocation(Model):

azure-devops/azure/devops/client.py

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,9 @@
1010
import re
1111
import uuid
1212

13-
from msrest import Deserializer, Serializer
14-
from msrest.exceptions import DeserializationError, SerializationError
15-
from msrest.universal_http import ClientRequest
16-
from msrest.service_client import ServiceClient
13+
from azure.core.rest import HttpRequest, HttpResponse
14+
from azure.core.rest.exceptions import DeserializationError, SerializationError
15+
from azure.core.rest.service_client import ServiceClient
1716
from .exceptions import AzureDevOpsAuthenticationError, AzureDevOpsClientRequestError, AzureDevOpsServiceError
1817
from .client_configuration import ClientConfiguration
1918
from . import _models

azure-devops/azure/devops/client_configuration.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# Licensed under the MIT License. See License.txt in the project root for license information.
44
# --------------------------------------------------------------------------------------------
55

6-
from msrest import Configuration
6+
from azure.core.rest import Configuration
77
from .version import VERSION
88

99

azure-devops/azure/devops/connection.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
import logging
77

8-
from msrest.service_client import ServiceClient
8+
from azure.core.rest.service_client import ServiceClient
99
from ._file_cache import RESOURCE_CACHE as RESOURCE_FILE_CACHE
1010
from .client_configuration import ClientConfiguration
1111
from .exceptions import AzureDevOpsClientRequestError

azure-devops/azure/devops/credentials.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# Licensed under the MIT License. See License.txt in the project root for license information.
44
# --------------------------------------------------------------------------------------------
55

6-
from msrest.authentication import (
6+
from azure.core.rest.authentication import (
77
BasicAuthentication,
88
BasicTokenAuthentication,
99
OAuthTokenAuthentication)

azure-devops/azure/devops/exceptions.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# Licensed under the MIT License. See License.txt in the project root for license information.
44
# --------------------------------------------------------------------------------------------
55

6-
from msrest.exceptions import (
6+
from azure.core.rest.exceptions import (
77
ClientException,
88
ClientRequestError,
99
AuthenticationError,

azure-devops/azure/devops/issue_tests/test_issue_268.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,7 @@
66
import pprint
77
import unittest
88

9-
from msrest import Deserializer
10-
from msrest.universal_http import HTTPClientResponse
9+
from azure.core.rest import HttpRequest, HttpResponse
1110

1211

1312
class _TestResponse(HTTPClientResponse):

azure-devops/azure/devops/released/accounts/accounts_client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
77
# --------------------------------------------------------------------------------------------
88

9-
from msrest import Serializer, Deserializer
9+
from azure.core.rest import HttpRequest, HttpResponse
1010
from ...client import Client
1111
from ...v7_0.accounts import models
1212

azure-devops/azure/devops/released/build/build_client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
77
# --------------------------------------------------------------------------------------------
88

9-
from msrest import Serializer, Deserializer
9+
from azure.core.rest import HttpRequest, HttpResponse
1010
from ...client import Client
1111
from ...v7_0.build import models
1212

0 commit comments

Comments
 (0)