Skip to content

Commit

Permalink
Disable autorest.common auto-registration of CloudError (#105)
Browse files Browse the repository at this point in the history
  • Loading branch information
lmazuel authored Jul 29, 2019
1 parent 8234b69 commit dad636f
Show file tree
Hide file tree
Showing 19 changed files with 1 addition and 145 deletions.
2 changes: 1 addition & 1 deletion src/azure/TransformerPya.cs
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ public override CodeModelPya TransformCodeModel(CodeModel cm)
ParameterGroupExtensionHelper.AddParameterGroups(codeModel);
// AzureExtensions.AddLongRunningOperations(codeModel); -- Replaced by Python version
AddAzureProperties(codeModel);
AzureExtensions.SetDefaultResponses(codeModel);
// AzureExtensions.SetDefaultResponses(codeModel); -- Replaced by Python version
// AzureExtensions.AddPageableMethod(codeModel); -- Replaced by Python version

// End of mock "NormalizeAzureClientModel"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,6 @@
from azure.core import HttpResponseError


class CloudError(Model):
"""CloudError.
"""

_attribute_map = {
}


class Error(Model):
"""Error.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,6 @@
from azure.core import HttpResponseError


class CloudError(Model):
"""CloudError.
"""

_attribute_map = {
}


class Error(Model):
"""Error.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,6 @@
from azure.core import HttpResponseError


class CloudError(Model):
"""CloudError.
"""

_attribute_map = {
}


class Error(Model):
"""Error.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,6 @@
from azure.core import HttpResponseError


class CloudError(Model):
"""CloudError.
"""

_attribute_map = {
}


class Error(Model):
"""Error.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,6 @@
from azure.core import HttpResponseError


class CloudError(Model):
"""CloudError.
"""

_attribute_map = {
}


class Error(Model):
"""Error.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,6 @@
from azure.core import HttpResponseError


class CloudError(Model):
"""CloudError.
"""

_attribute_map = {
}


class Error(Model):
"""Error.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,6 @@
from azure.core import HttpResponseError


class CloudError(Model):
"""CloudError.
"""

_attribute_map = {
}


class Error(Model):
"""Error.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,6 @@
from azure.core import HttpResponseError


class CloudError(Model):
"""CloudError.
"""

_attribute_map = {
}


class Error(Model):
"""Error.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,6 @@
from azure.core import HttpResponseError


class CloudError(Model):
"""CloudError.
"""

_attribute_map = {
}


class Error(Model):
"""Error.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,6 @@
from azure.core import HttpResponseError


class CloudError(Model):
"""CloudError.
"""

_attribute_map = {
}


class Error(Model):
"""Error.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,14 +41,6 @@ def __init__(self, **kwargs):
self.description = kwargs.get('description', None)


class CloudError(Model):
"""CloudError.
"""

_attribute_map = {
}


class Error(Model):
"""Error.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,14 +41,6 @@ def __init__(self, *, product_id: str, description: str=None, **kwargs) -> None:
self.description = description


class CloudError(Model):
"""CloudError.
"""

_attribute_map = {
}


class Error(Model):
"""Error.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,6 @@
from msrest.serialization import Model


class CloudError(Model):
"""CloudError.
"""

_attribute_map = {
}


class CustomParameterGroup(Model):
"""Additional parameters for
get_multiple_pages_fragment_with_grouping_next_link operation.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,6 @@
from msrest.serialization import Model


class CloudError(Model):
"""CloudError.
"""

_attribute_map = {
}


class CustomParameterGroup(Model):
"""Additional parameters for
get_multiple_pages_fragment_with_grouping_next_link operation.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,14 +58,6 @@ def __init__(self, **kwargs):
self.message = kwargs.get('message', None)


class CloudError(Model):
"""CloudError.
"""

_attribute_map = {
}


class CustomDomain(Model):
"""The custom domain assigned to this storage account. This can be set via
Update.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,14 +58,6 @@ def __init__(self, *, name_available: bool=None, reason=None, message: str=None,
self.message = message


class CloudError(Model):
"""CloudError.
"""

_attribute_map = {
}


class CustomDomain(Model):
"""The custom domain assigned to this storage account. This can be set via
Update.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,6 @@
from azure.core import HttpResponseError


class CloudError(Model):
"""CloudError.
"""

_attribute_map = {
}


class Error(Model):
"""Error.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,6 @@
from azure.core import HttpResponseError


class CloudError(Model):
"""CloudError.
"""

_attribute_map = {
}


class Error(Model):
"""Error.
Expand Down

0 comments on commit dad636f

Please sign in to comment.