diff --git a/AutoRest/Generators/CSharp/Azure.CSharp.Tests/Expected/AcceptanceTests/AzureBodyDurationAllSync/AutoRestDurationTestService.cs b/AutoRest/Generators/CSharp/Azure.CSharp.Tests/Expected/AcceptanceTests/AzureBodyDurationAllSync/AutoRestDurationTestService.cs
index 343555c4d5..9c060715e6 100644
--- a/AutoRest/Generators/CSharp/Azure.CSharp.Tests/Expected/AcceptanceTests/AzureBodyDurationAllSync/AutoRestDurationTestService.cs
+++ b/AutoRest/Generators/CSharp/Azure.CSharp.Tests/Expected/AcceptanceTests/AzureBodyDurationAllSync/AutoRestDurationTestService.cs
@@ -264,6 +264,10 @@ public AutoRestDurationTestService(Uri baseUri, ServiceClientCredentials credent
}
}
+ ///
+ /// An optional partial-method to perform custom initialization.
+ ///
+ partial void CustomInitialize();
///
/// Initializes client properties.
///
@@ -299,6 +303,7 @@ private void Initialize()
new Iso8601TimeSpanConverter()
}
};
+ CustomInitialize();
DeserializationSettings.Converters.Add(new CloudErrorJsonConverter());
}
}
diff --git a/AutoRest/Generators/CSharp/Azure.CSharp.Tests/Expected/AcceptanceTests/AzureBodyDurationNoSync/AutoRestDurationTestService.cs b/AutoRest/Generators/CSharp/Azure.CSharp.Tests/Expected/AcceptanceTests/AzureBodyDurationNoSync/AutoRestDurationTestService.cs
index bd9a8b84b5..f0afb3fe28 100644
--- a/AutoRest/Generators/CSharp/Azure.CSharp.Tests/Expected/AcceptanceTests/AzureBodyDurationNoSync/AutoRestDurationTestService.cs
+++ b/AutoRest/Generators/CSharp/Azure.CSharp.Tests/Expected/AcceptanceTests/AzureBodyDurationNoSync/AutoRestDurationTestService.cs
@@ -264,6 +264,10 @@ public AutoRestDurationTestService(Uri baseUri, ServiceClientCredentials credent
}
}
+ ///
+ /// An optional partial-method to perform custom initialization.
+ ///
+ partial void CustomInitialize();
///
/// Initializes client properties.
///
@@ -299,6 +303,7 @@ private void Initialize()
new Iso8601TimeSpanConverter()
}
};
+ CustomInitialize();
DeserializationSettings.Converters.Add(new CloudErrorJsonConverter());
}
}
diff --git a/AutoRest/Generators/CSharp/Azure.CSharp.Tests/Expected/AcceptanceTests/AzureCompositeModelClient/AzureCompositeModel.cs b/AutoRest/Generators/CSharp/Azure.CSharp.Tests/Expected/AcceptanceTests/AzureCompositeModelClient/AzureCompositeModel.cs
index 264a98d8b5..050ba5abd3 100644
--- a/AutoRest/Generators/CSharp/Azure.CSharp.Tests/Expected/AcceptanceTests/AzureCompositeModelClient/AzureCompositeModel.cs
+++ b/AutoRest/Generators/CSharp/Azure.CSharp.Tests/Expected/AcceptanceTests/AzureCompositeModelClient/AzureCompositeModel.cs
@@ -360,10 +360,12 @@ private void Initialize()
///
/// Product Types
///
+ ///
/// The Products endpoint returns information about the Uber products offered
/// at a given location. The response includes the display name and other
/// details about each product, and lists the products in the proper display
/// order.
+ ///
///
/// Resource Group ID.
///
@@ -535,7 +537,9 @@ private void Initialize()
///
/// Create products
///
+ ///
/// Resets products.
+ ///
///
/// Subscription ID.
///
@@ -730,7 +734,9 @@ private void Initialize()
///
/// Update products
///
+ ///
/// Resets products.
+ ///
///
/// Subscription ID.
///
diff --git a/AutoRest/Generators/CSharp/Azure.CSharp.Tests/Expected/AcceptanceTests/AzureCompositeModelClient/AzureCompositeModelExtensions.cs b/AutoRest/Generators/CSharp/Azure.CSharp.Tests/Expected/AcceptanceTests/AzureCompositeModelClient/AzureCompositeModelExtensions.cs
index 81706900ca..6c3d15a341 100644
--- a/AutoRest/Generators/CSharp/Azure.CSharp.Tests/Expected/AcceptanceTests/AzureCompositeModelClient/AzureCompositeModelExtensions.cs
+++ b/AutoRest/Generators/CSharp/Azure.CSharp.Tests/Expected/AcceptanceTests/AzureCompositeModelClient/AzureCompositeModelExtensions.cs
@@ -25,10 +25,12 @@ public static partial class AzureCompositeModelExtensions
///
/// Product Types
///
+ ///
/// The Products endpoint returns information about the Uber products offered
/// at a given location. The response includes the display name and other
/// details about each product, and lists the products in the proper display
/// order.
+ ///
///
/// The operations group for this extension method.
///
@@ -43,10 +45,12 @@ public static CatalogArray List(this IAzureCompositeModel operations, string res
///
/// Product Types
///
+ ///
/// The Products endpoint returns information about the Uber products offered
/// at a given location. The response includes the display name and other
/// details about each product, and lists the products in the proper display
/// order.
+ ///
///
/// The operations group for this extension method.
///
@@ -67,7 +71,9 @@ public static CatalogArray List(this IAzureCompositeModel operations, string res
///
/// Create products
///
+ ///
/// Resets products.
+ ///
///
/// The operations group for this extension method.
///
@@ -88,7 +94,9 @@ public static CatalogArray List(this IAzureCompositeModel operations, string res
///
/// Create products
///
+ ///
/// Resets products.
+ ///
///
/// The operations group for this extension method.
///
@@ -115,7 +123,9 @@ public static CatalogArray List(this IAzureCompositeModel operations, string res
///
/// Update products
///
+ ///
/// Resets products.
+ ///
///
/// The operations group for this extension method.
///
@@ -136,7 +146,9 @@ public static CatalogArray List(this IAzureCompositeModel operations, string res
///
/// Update products
///
+ ///
/// Resets products.
+ ///
///
/// The operations group for this extension method.
///
diff --git a/AutoRest/Generators/CSharp/Azure.CSharp.Tests/Expected/AcceptanceTests/AzureCompositeModelClient/IAzureCompositeModel.cs b/AutoRest/Generators/CSharp/Azure.CSharp.Tests/Expected/AcceptanceTests/AzureCompositeModelClient/IAzureCompositeModel.cs
index 71f8a027aa..d354d6e93a 100644
--- a/AutoRest/Generators/CSharp/Azure.CSharp.Tests/Expected/AcceptanceTests/AzureCompositeModelClient/IAzureCompositeModel.cs
+++ b/AutoRest/Generators/CSharp/Azure.CSharp.Tests/Expected/AcceptanceTests/AzureCompositeModelClient/IAzureCompositeModel.cs
@@ -110,10 +110,12 @@ public partial interface IAzureCompositeModel : IDisposable
///
/// Product Types
///
+ ///
/// The Products endpoint returns information about the Uber products
/// offered at a given location. The response includes the display
/// name and other details about each product, and lists the products
/// in the proper display order.
+ ///
///
/// Resource Group ID.
///
@@ -128,7 +130,9 @@ public partial interface IAzureCompositeModel : IDisposable
///
/// Create products
///
+ ///
/// Resets products.
+ ///
///
/// Subscription ID.
///
@@ -149,7 +153,9 @@ public partial interface IAzureCompositeModel : IDisposable
///
/// Update products
///
+ ///
/// Resets products.
+ ///
///
/// Subscription ID.
///
diff --git a/AutoRest/Generators/CSharp/Azure.CSharp.Tests/Expected/AcceptanceTests/AzureSpecials/HeaderOperations.cs b/AutoRest/Generators/CSharp/Azure.CSharp.Tests/Expected/AcceptanceTests/AzureSpecials/HeaderOperations.cs
index 110100a809..fa7fe72c43 100644
--- a/AutoRest/Generators/CSharp/Azure.CSharp.Tests/Expected/AcceptanceTests/AzureSpecials/HeaderOperations.cs
+++ b/AutoRest/Generators/CSharp/Azure.CSharp.Tests/Expected/AcceptanceTests/AzureSpecials/HeaderOperations.cs
@@ -229,6 +229,12 @@ internal HeaderOperations(AutoRestAzureSpecialParametersTestClient client)
///
/// The cancellation token.
///
+ ///
+ /// Thrown when the operation returned an invalid status code
+ ///
+ ///
+ /// Thrown when a required parameter is null
+ ///
///
/// A response object containing the response body and response headers.
///
diff --git a/AutoRest/Generators/CSharp/Azure.CSharp.Tests/Expected/AcceptanceTests/AzureSpecials/IHeaderOperations.cs b/AutoRest/Generators/CSharp/Azure.CSharp.Tests/Expected/AcceptanceTests/AzureSpecials/IHeaderOperations.cs
index 6dc1bf8e02..be699fd726 100644
--- a/AutoRest/Generators/CSharp/Azure.CSharp.Tests/Expected/AcceptanceTests/AzureSpecials/IHeaderOperations.cs
+++ b/AutoRest/Generators/CSharp/Azure.CSharp.Tests/Expected/AcceptanceTests/AzureSpecials/IHeaderOperations.cs
@@ -55,6 +55,12 @@ public partial interface IHeaderOperations
///
/// The cancellation token.
///
+ ///
+ /// Thrown when the operation returned an invalid status code
+ ///
+ ///
+ /// Thrown when a required parameter is null
+ ///
Task> CustomNamedRequestIdParamGroupingWithHttpMessagesAsync(HeaderCustomNamedRequestIdParamGroupingParameters headerCustomNamedRequestIdParamGroupingParameters, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
}
}
diff --git a/AutoRest/Generators/CSharp/Azure.CSharp.Tests/Expected/AcceptanceTests/AzureSpecials/Models/HeaderCustomNamedRequestIdParamGroupingParameters.cs b/AutoRest/Generators/CSharp/Azure.CSharp.Tests/Expected/AcceptanceTests/AzureSpecials/Models/HeaderCustomNamedRequestIdParamGroupingParameters.cs
index 9a44e5f9ce..2952b0300d 100644
--- a/AutoRest/Generators/CSharp/Azure.CSharp.Tests/Expected/AcceptanceTests/AzureSpecials/Models/HeaderCustomNamedRequestIdParamGroupingParameters.cs
+++ b/AutoRest/Generators/CSharp/Azure.CSharp.Tests/Expected/AcceptanceTests/AzureSpecials/Models/HeaderCustomNamedRequestIdParamGroupingParameters.cs
@@ -44,8 +44,11 @@ public HeaderCustomNamedRequestIdParamGroupingParameters(string fooClientRequest
public string FooClientRequestId { get; set; }
///
- /// Validate the object. Throws ValidationException if validation fails.
+ /// Validate the object.
///
+ ///
+ /// Thrown if validation fails
+ ///
public virtual void Validate()
{
if (FooClientRequestId == null)
diff --git a/AutoRest/Generators/CSharp/CSharp.Tests/Expected/Mirror.Polymorphic/IPolymorphicAnimalStore.cs b/AutoRest/Generators/CSharp/CSharp.Tests/Expected/Mirror.Polymorphic/IPolymorphicAnimalStore.cs
index 3d46b8b699..66f7ca6ad5 100644
--- a/AutoRest/Generators/CSharp/CSharp.Tests/Expected/Mirror.Polymorphic/IPolymorphicAnimalStore.cs
+++ b/AutoRest/Generators/CSharp/CSharp.Tests/Expected/Mirror.Polymorphic/IPolymorphicAnimalStore.cs
@@ -41,10 +41,12 @@ public partial interface IPolymorphicAnimalStore : IDisposable
///
/// Product Types
///
+ ///
/// The Products endpoint returns information about the Uber products
/// offered at a given location. The response includes the display
/// name and other details about each product, and lists the products
/// in the proper display order.
+ ///
///
/// An Animal
///
diff --git a/AutoRest/Generators/CSharp/CSharp.Tests/Expected/Mirror.Polymorphic/PolymorphicAnimalStore.cs b/AutoRest/Generators/CSharp/CSharp.Tests/Expected/Mirror.Polymorphic/PolymorphicAnimalStore.cs
index 7223c9928f..4b551c0c2a 100644
--- a/AutoRest/Generators/CSharp/CSharp.Tests/Expected/Mirror.Polymorphic/PolymorphicAnimalStore.cs
+++ b/AutoRest/Generators/CSharp/CSharp.Tests/Expected/Mirror.Polymorphic/PolymorphicAnimalStore.cs
@@ -156,10 +156,12 @@ private void Initialize()
///
/// Product Types
///
+ ///
/// The Products endpoint returns information about the Uber products offered
/// at a given location. The response includes the display name and other
/// details about each product, and lists the products in the proper display
/// order.
+ ///
///
/// An Animal
///
diff --git a/AutoRest/Generators/CSharp/CSharp.Tests/Expected/Mirror.Polymorphic/PolymorphicAnimalStoreExtensions.cs b/AutoRest/Generators/CSharp/CSharp.Tests/Expected/Mirror.Polymorphic/PolymorphicAnimalStoreExtensions.cs
index f4f5a1ef16..59dc3588a6 100644
--- a/AutoRest/Generators/CSharp/CSharp.Tests/Expected/Mirror.Polymorphic/PolymorphicAnimalStoreExtensions.cs
+++ b/AutoRest/Generators/CSharp/CSharp.Tests/Expected/Mirror.Polymorphic/PolymorphicAnimalStoreExtensions.cs
@@ -24,10 +24,12 @@ public static partial class PolymorphicAnimalStoreExtensions
///
/// Product Types
///
+ ///
/// The Products endpoint returns information about the Uber products offered
/// at a given location. The response includes the display name and other
/// details about each product, and lists the products in the proper display
/// order.
+ ///
///
/// The operations group for this extension method.
///
@@ -42,10 +44,12 @@ public static partial class PolymorphicAnimalStoreExtensions
///
/// Product Types
///
+ ///
/// The Products endpoint returns information about the Uber products offered
/// at a given location. The response includes the display name and other
/// details about each product, and lists the products in the proper display
/// order.
+ ///
///
/// The operations group for this extension method.
///
diff --git a/AutoRest/Generators/CSharp/CSharp.Tests/Expected/Mirror.RecursiveTypes/IRecursiveTypesAPI.cs b/AutoRest/Generators/CSharp/CSharp.Tests/Expected/Mirror.RecursiveTypes/IRecursiveTypesAPI.cs
index 482343fc2b..8b8202c9bd 100644
--- a/AutoRest/Generators/CSharp/CSharp.Tests/Expected/Mirror.RecursiveTypes/IRecursiveTypesAPI.cs
+++ b/AutoRest/Generators/CSharp/CSharp.Tests/Expected/Mirror.RecursiveTypes/IRecursiveTypesAPI.cs
@@ -41,10 +41,12 @@ public partial interface IRecursiveTypesAPI : IDisposable
///
/// Products
///
+ ///
/// The Products endpoint returns information about the Uber products
/// offered at a given location. The response includes the display
/// name and other details about each product, and lists the products
/// in the proper display order.
+ ///
///
/// Subscription Id.
///
diff --git a/AutoRest/Generators/CSharp/CSharp.Tests/Expected/Mirror.RecursiveTypes/RecursiveTypesAPI.cs b/AutoRest/Generators/CSharp/CSharp.Tests/Expected/Mirror.RecursiveTypes/RecursiveTypesAPI.cs
index 021c8ee6ab..5c1e5fa927 100644
--- a/AutoRest/Generators/CSharp/CSharp.Tests/Expected/Mirror.RecursiveTypes/RecursiveTypesAPI.cs
+++ b/AutoRest/Generators/CSharp/CSharp.Tests/Expected/Mirror.RecursiveTypes/RecursiveTypesAPI.cs
@@ -154,10 +154,12 @@ private void Initialize()
///
/// Products
///
+ ///
/// The Products endpoint returns information about the Uber products offered
/// at a given location. The response includes the display name and other
/// details about each product, and lists the products in the proper display
/// order.
+ ///
///
/// Subscription Id.
///
diff --git a/AutoRest/Generators/CSharp/CSharp.Tests/Expected/Mirror.RecursiveTypes/RecursiveTypesAPIExtensions.cs b/AutoRest/Generators/CSharp/CSharp.Tests/Expected/Mirror.RecursiveTypes/RecursiveTypesAPIExtensions.cs
index 9340ced52c..9c018b607c 100644
--- a/AutoRest/Generators/CSharp/CSharp.Tests/Expected/Mirror.RecursiveTypes/RecursiveTypesAPIExtensions.cs
+++ b/AutoRest/Generators/CSharp/CSharp.Tests/Expected/Mirror.RecursiveTypes/RecursiveTypesAPIExtensions.cs
@@ -24,10 +24,12 @@ public static partial class RecursiveTypesAPIExtensions
///
/// Products
///
+ ///
/// The Products endpoint returns information about the Uber products offered
/// at a given location. The response includes the display name and other
/// details about each product, and lists the products in the proper display
/// order.
+ ///
///
/// The operations group for this extension method.
///
@@ -51,10 +53,12 @@ public static partial class RecursiveTypesAPIExtensions
///
/// Products
///
+ ///
/// The Products endpoint returns information about the Uber products offered
/// at a given location. The response includes the display name and other
/// details about each product, and lists the products in the proper display
/// order.
+ ///
///
/// The operations group for this extension method.
///
diff --git a/AutoRest/Generators/CSharp/CSharp.Tests/Expected/PetstoreV2/ISwaggerPetstoreV2.cs b/AutoRest/Generators/CSharp/CSharp.Tests/Expected/PetstoreV2/ISwaggerPetstoreV2.cs
index 3eba2b46d8..4dba1ce67a 100644
--- a/AutoRest/Generators/CSharp/CSharp.Tests/Expected/PetstoreV2/ISwaggerPetstoreV2.cs
+++ b/AutoRest/Generators/CSharp/CSharp.Tests/Expected/PetstoreV2/ISwaggerPetstoreV2.cs
@@ -79,7 +79,9 @@ public partial interface ISwaggerPetstoreV2 : IDisposable
///
/// Finds Pets by status
///
+ ///
/// Multiple status values can be provided with comma seperated strings
+ ///
///
/// Status values that need to be considered for filter
///
@@ -94,8 +96,10 @@ public partial interface ISwaggerPetstoreV2 : IDisposable
///
/// Finds Pets by tags
///
+ ///
/// Muliple tags can be provided with comma seperated strings. Use
/// tag1, tag2, tag3 for testing.
+ ///
///
/// Tags to filter by
///
@@ -110,7 +114,9 @@ public partial interface ISwaggerPetstoreV2 : IDisposable
///
/// Find pet by Id
///
+ ///
/// Returns a single pet
+ ///
///
/// Id of pet to return
///
@@ -164,7 +170,9 @@ public partial interface ISwaggerPetstoreV2 : IDisposable
///
/// Returns pet inventories by status
///
+ ///
/// Returns a map of status codes to quantities
+ ///
///
/// The headers that will be added to request.
///
@@ -190,8 +198,10 @@ public partial interface ISwaggerPetstoreV2 : IDisposable
///
/// Find purchase order by Id
///
+ ///
/// For valid response try integer IDs with value <= 5 or > 10.
/// Other values will generated exceptions
+ ///
///
/// Id of pet that needs to be fetched
///
@@ -206,8 +216,10 @@ public partial interface ISwaggerPetstoreV2 : IDisposable
///
/// Delete purchase order by Id
///
+ ///
/// For valid response try integer IDs with value < 1000. Anything
/// above 1000 or nonintegers will generate API errors
+ ///
///
/// Id of the order that needs to be deleted
///
@@ -222,7 +234,9 @@ public partial interface ISwaggerPetstoreV2 : IDisposable
///
/// Create user
///
+ ///
/// This can only be done by the logged in user.
+ ///
///
/// Created user object
///
@@ -307,7 +321,9 @@ public partial interface ISwaggerPetstoreV2 : IDisposable
///
/// Updated user
///
+ ///
/// This can only be done by the logged in user.
+ ///
///
/// name that need to be deleted
///
@@ -325,7 +341,9 @@ public partial interface ISwaggerPetstoreV2 : IDisposable
///
/// Delete user
///
+ ///
/// This can only be done by the logged in user.
+ ///
///
/// The name that needs to be deleted
///
diff --git a/AutoRest/Generators/CSharp/CSharp.Tests/Expected/PetstoreV2/SwaggerPetstoreV2.cs b/AutoRest/Generators/CSharp/CSharp.Tests/Expected/PetstoreV2/SwaggerPetstoreV2.cs
index 6d6c128152..755b45eb53 100644
--- a/AutoRest/Generators/CSharp/CSharp.Tests/Expected/PetstoreV2/SwaggerPetstoreV2.cs
+++ b/AutoRest/Generators/CSharp/CSharp.Tests/Expected/PetstoreV2/SwaggerPetstoreV2.cs
@@ -544,7 +544,9 @@ private void Initialize()
///
/// Finds Pets by status
///
+ ///
/// Multiple status values can be provided with comma seperated strings
+ ///
///
/// Status values that need to be considered for filter
///
@@ -684,8 +686,10 @@ private void Initialize()
///
/// Finds Pets by tags
///
+ ///
/// Muliple tags can be provided with comma seperated strings. Use tag1, tag2,
/// tag3 for testing.
+ ///
///
/// Tags to filter by
///
@@ -825,7 +829,9 @@ private void Initialize()
///
/// Find pet by Id
///
+ ///
/// Returns a single pet
+ ///
///
/// Id of pet to return
///
@@ -1212,7 +1218,9 @@ private void Initialize()
///
/// Returns pet inventories by status
///
+ ///
/// Returns a map of status codes to quantities
+ ///
///
/// Headers that will be added to request.
///
@@ -1468,8 +1476,10 @@ private void Initialize()
///
/// Find purchase order by Id
///
+ ///
/// For valid response try integer IDs with value <= 5 or > 10. Other
/// values will generated exceptions
+ ///
///
/// Id of pet that needs to be fetched
///
@@ -1612,8 +1622,10 @@ private void Initialize()
///
/// Delete purchase order by Id
///
+ ///
/// For valid response try integer IDs with value < 1000. Anything above
/// 1000 or nonintegers will generate API errors
+ ///
///
/// Id of the order that needs to be deleted
///
@@ -1731,7 +1743,9 @@ private void Initialize()
///
/// Create user
///
+ ///
/// This can only be done by the logged in user.
+ ///
///
/// Created user object
///
@@ -2470,7 +2484,9 @@ private void Initialize()
///
/// Updated user
///
+ ///
/// This can only be done by the logged in user.
+ ///
///
/// name that need to be deleted
///
@@ -2595,7 +2611,9 @@ private void Initialize()
///
/// Delete user
///
+ ///
/// This can only be done by the logged in user.
+ ///
///
/// The name that needs to be deleted
///
diff --git a/AutoRest/Generators/CSharp/CSharp.Tests/Expected/PetstoreV2/SwaggerPetstoreV2Extensions.cs b/AutoRest/Generators/CSharp/CSharp.Tests/Expected/PetstoreV2/SwaggerPetstoreV2Extensions.cs
index fb2381bf54..972e1e5049 100644
--- a/AutoRest/Generators/CSharp/CSharp.Tests/Expected/PetstoreV2/SwaggerPetstoreV2Extensions.cs
+++ b/AutoRest/Generators/CSharp/CSharp.Tests/Expected/PetstoreV2/SwaggerPetstoreV2Extensions.cs
@@ -89,7 +89,9 @@ public static void UpdatePet(this ISwaggerPetstoreV2 operations, Pet body)
///
/// Finds Pets by status
///
+ ///
/// Multiple status values can be provided with comma seperated strings
+ ///
///
/// The operations group for this extension method.
///
@@ -104,7 +106,9 @@ public static IList FindPetsByStatus(this ISwaggerPetstoreV2 operations, IL
///
/// Finds Pets by status
///
+ ///
/// Multiple status values can be provided with comma seperated strings
+ ///
///
/// The operations group for this extension method.
///
@@ -125,8 +129,10 @@ public static IList FindPetsByStatus(this ISwaggerPetstoreV2 operations, IL
///
/// Finds Pets by tags
///
+ ///
/// Muliple tags can be provided with comma seperated strings. Use tag1, tag2,
/// tag3 for testing.
+ ///
///
/// The operations group for this extension method.
///
@@ -141,8 +147,10 @@ public static IList FindPetsByTags(this ISwaggerPetstoreV2 operations, ILis
///
/// Finds Pets by tags
///
+ ///
/// Muliple tags can be provided with comma seperated strings. Use tag1, tag2,
/// tag3 for testing.
+ ///
///
/// The operations group for this extension method.
///
@@ -163,7 +171,9 @@ public static IList FindPetsByTags(this ISwaggerPetstoreV2 operations, ILis
///
/// Find pet by Id
///
+ ///
/// Returns a single pet
+ ///
///
/// The operations group for this extension method.
///
@@ -178,7 +188,9 @@ public static Pet GetPetById(this ISwaggerPetstoreV2 operations, long petId)
///
/// Find pet by Id
///
+ ///
/// Returns a single pet
+ ///
///
/// The operations group for this extension method.
///
@@ -283,7 +295,9 @@ public static void DeletePet(this ISwaggerPetstoreV2 operations, long petId, str
///
/// Returns pet inventories by status
///
+ ///
/// Returns a map of status codes to quantities
+ ///
///
/// The operations group for this extension method.
///
@@ -295,7 +309,9 @@ public static void DeletePet(this ISwaggerPetstoreV2 operations, long petId, str
///
/// Returns pet inventories by status
///
+ ///
/// Returns a map of status codes to quantities
+ ///
///
/// The operations group for this extension method.
///
@@ -347,8 +363,10 @@ public static Order PlaceOrder(this ISwaggerPetstoreV2 operations, Order body)
///
/// Find purchase order by Id
///
+ ///
/// For valid response try integer IDs with value <= 5 or > 10. Other
/// values will generated exceptions
+ ///
///
/// The operations group for this extension method.
///
@@ -363,8 +381,10 @@ public static Order GetOrderById(this ISwaggerPetstoreV2 operations, string orde
///
/// Find purchase order by Id
///
+ ///
/// For valid response try integer IDs with value <= 5 or > 10. Other
/// values will generated exceptions
+ ///
///
/// The operations group for this extension method.
///
@@ -385,8 +405,10 @@ public static Order GetOrderById(this ISwaggerPetstoreV2 operations, string orde
///
/// Delete purchase order by Id
///
+ ///
/// For valid response try integer IDs with value < 1000. Anything above
/// 1000 or nonintegers will generate API errors
+ ///
///
/// The operations group for this extension method.
///
@@ -401,8 +423,10 @@ public static void DeleteOrder(this ISwaggerPetstoreV2 operations, string orderI
///
/// Delete purchase order by Id
///
+ ///
/// For valid response try integer IDs with value < 1000. Anything above
/// 1000 or nonintegers will generate API errors
+ ///
///
/// The operations group for this extension method.
///
@@ -420,7 +444,9 @@ public static void DeleteOrder(this ISwaggerPetstoreV2 operations, string orderI
///
/// Create user
///
+ ///
/// This can only be done by the logged in user.
+ ///
///
/// The operations group for this extension method.
///
@@ -435,7 +461,9 @@ public static void CreateUser(this ISwaggerPetstoreV2 operations, User body)
///
/// Create user
///
+ ///
/// This can only be done by the logged in user.
+ ///
///
/// The operations group for this extension method.
///
@@ -614,7 +642,9 @@ public static User GetUserByName(this ISwaggerPetstoreV2 operations, string user
///
/// Updated user
///
+ ///
/// This can only be done by the logged in user.
+ ///
///
/// The operations group for this extension method.
///
@@ -632,7 +662,9 @@ public static void UpdateUser(this ISwaggerPetstoreV2 operations, string usernam
///
/// Updated user
///
+ ///
/// This can only be done by the logged in user.
+ ///
///
/// The operations group for this extension method.
///
@@ -653,7 +685,9 @@ public static void UpdateUser(this ISwaggerPetstoreV2 operations, string usernam
///
/// Delete user
///
+ ///
/// This can only be done by the logged in user.
+ ///
///
/// The operations group for this extension method.
///
@@ -668,7 +702,9 @@ public static void DeleteUser(this ISwaggerPetstoreV2 operations, string usernam
///
/// Delete user
///
+ ///
/// This can only be done by the logged in user.
+ ///
///
/// The operations group for this extension method.
///
diff --git a/AutoRest/Generators/CSharp/CSharp.Tests/Expected/PetstoreV2AllSync/ISwaggerPetstoreV2.cs b/AutoRest/Generators/CSharp/CSharp.Tests/Expected/PetstoreV2AllSync/ISwaggerPetstoreV2.cs
index 05eddda353..975ab3e58c 100644
--- a/AutoRest/Generators/CSharp/CSharp.Tests/Expected/PetstoreV2AllSync/ISwaggerPetstoreV2.cs
+++ b/AutoRest/Generators/CSharp/CSharp.Tests/Expected/PetstoreV2AllSync/ISwaggerPetstoreV2.cs
@@ -73,7 +73,9 @@ public partial interface ISwaggerPetstoreV2 : IDisposable
///
/// Finds Pets by status
///
+ ///
/// Multiple status values can be provided with comma seperated strings
+ ///
///
/// Status values that need to be considered for filter
///
@@ -88,8 +90,10 @@ public partial interface ISwaggerPetstoreV2 : IDisposable
///
/// Finds Pets by tags
///
+ ///
/// Muliple tags can be provided with comma seperated strings. Use
/// tag1, tag2, tag3 for testing.
+ ///
///
/// Tags to filter by
///
@@ -104,7 +108,9 @@ public partial interface ISwaggerPetstoreV2 : IDisposable
///
/// Find pet by Id
///
+ ///
/// Returns a single pet
+ ///
///
/// Id of pet to return
///
@@ -158,7 +164,9 @@ public partial interface ISwaggerPetstoreV2 : IDisposable
///
/// Returns pet inventories by status
///
+ ///
/// Returns a map of status codes to quantities
+ ///
///
/// The headers that will be added to request.
///
@@ -184,8 +192,10 @@ public partial interface ISwaggerPetstoreV2 : IDisposable
///
/// Find purchase order by Id
///
+ ///
/// For valid response try integer IDs with value <= 5 or > 10.
/// Other values will generated exceptions
+ ///
///
/// Id of pet that needs to be fetched
///
@@ -200,8 +210,10 @@ public partial interface ISwaggerPetstoreV2 : IDisposable
///
/// Delete purchase order by Id
///
+ ///
/// For valid response try integer IDs with value < 1000. Anything
/// above 1000 or nonintegers will generate API errors
+ ///
///
/// Id of the order that needs to be deleted
///
@@ -216,7 +228,9 @@ public partial interface ISwaggerPetstoreV2 : IDisposable
///
/// Create user
///
+ ///
/// This can only be done by the logged in user.
+ ///
///
/// Created user object
///
@@ -301,7 +315,9 @@ public partial interface ISwaggerPetstoreV2 : IDisposable
///
/// Updated user
///
+ ///
/// This can only be done by the logged in user.
+ ///
///
/// name that need to be deleted
///
@@ -319,7 +335,9 @@ public partial interface ISwaggerPetstoreV2 : IDisposable
///
/// Delete user
///
+ ///
/// This can only be done by the logged in user.
+ ///
///
/// The name that needs to be deleted
///
diff --git a/AutoRest/Generators/CSharp/CSharp.Tests/Expected/PetstoreV2AllSync/SwaggerPetstoreV2.cs b/AutoRest/Generators/CSharp/CSharp.Tests/Expected/PetstoreV2AllSync/SwaggerPetstoreV2.cs
index 389a226b6a..b584445c4e 100644
--- a/AutoRest/Generators/CSharp/CSharp.Tests/Expected/PetstoreV2AllSync/SwaggerPetstoreV2.cs
+++ b/AutoRest/Generators/CSharp/CSharp.Tests/Expected/PetstoreV2AllSync/SwaggerPetstoreV2.cs
@@ -405,7 +405,9 @@ private void Initialize()
///
/// Finds Pets by status
///
+ ///
/// Multiple status values can be provided with comma seperated strings
+ ///
///
/// Status values that need to be considered for filter
///
@@ -539,8 +541,10 @@ private void Initialize()
///
/// Finds Pets by tags
///
+ ///
/// Muliple tags can be provided with comma seperated strings. Use tag1, tag2,
/// tag3 for testing.
+ ///
///
/// Tags to filter by
///
@@ -674,7 +678,9 @@ private void Initialize()
///
/// Find pet by Id
///
+ ///
/// Returns a single pet
+ ///
///
/// Id of pet to return
///
@@ -1043,7 +1049,9 @@ private void Initialize()
///
/// Returns pet inventories by status
///
+ ///
/// Returns a map of status codes to quantities
+ ///
///
/// Headers that will be added to request.
///
@@ -1287,8 +1295,10 @@ private void Initialize()
///
/// Find purchase order by Id
///
+ ///
/// For valid response try integer IDs with value <= 5 or > 10. Other
/// values will generated exceptions
+ ///
///
/// Id of pet that needs to be fetched
///
@@ -1425,8 +1435,10 @@ private void Initialize()
///
/// Delete purchase order by Id
///
+ ///
/// For valid response try integer IDs with value < 1000. Anything above
/// 1000 or nonintegers will generate API errors
+ ///
///
/// Id of the order that needs to be deleted
///
@@ -1538,7 +1550,9 @@ private void Initialize()
///
/// Create user
///
+ ///
/// This can only be done by the logged in user.
+ ///
///
/// Created user object
///
@@ -2241,7 +2255,9 @@ private void Initialize()
///
/// Updated user
///
+ ///
/// This can only be done by the logged in user.
+ ///
///
/// name that need to be deleted
///
@@ -2360,7 +2376,9 @@ private void Initialize()
///
/// Delete user
///
+ ///
/// This can only be done by the logged in user.
+ ///
///
/// The name that needs to be deleted
///
diff --git a/AutoRest/Generators/CSharp/CSharp.Tests/Expected/PetstoreV2AllSync/SwaggerPetstoreV2Extensions.cs b/AutoRest/Generators/CSharp/CSharp.Tests/Expected/PetstoreV2AllSync/SwaggerPetstoreV2Extensions.cs
index 7632b1ccaf..8cef7311cf 100644
--- a/AutoRest/Generators/CSharp/CSharp.Tests/Expected/PetstoreV2AllSync/SwaggerPetstoreV2Extensions.cs
+++ b/AutoRest/Generators/CSharp/CSharp.Tests/Expected/PetstoreV2AllSync/SwaggerPetstoreV2Extensions.cs
@@ -123,7 +123,9 @@ public static HttpOperationResponse UpdatePetWithHttpMessages(this ISwaggerPetst
///
/// Finds Pets by status
///
+ ///
/// Multiple status values can be provided with comma seperated strings
+ ///
///
/// The operations group for this extension method.
///
@@ -138,7 +140,9 @@ public static IList FindPetsByStatus(this ISwaggerPetstoreV2 operations, IL
///
/// Finds Pets by status
///
+ ///
/// Multiple status values can be provided with comma seperated strings
+ ///
///
/// The operations group for this extension method.
///
@@ -159,7 +163,9 @@ public static IList FindPetsByStatus(this ISwaggerPetstoreV2 operations, IL
///
/// Finds Pets by status
///
+ ///
/// Multiple status values can be provided with comma seperated strings
+ ///
///
/// The operations group for this extension method.
///
@@ -177,8 +183,10 @@ public static HttpOperationResponse> FindPetsByStatusWithHttpMessages
///
/// Finds Pets by tags
///
+ ///
/// Muliple tags can be provided with comma seperated strings. Use tag1, tag2,
/// tag3 for testing.
+ ///
///
/// The operations group for this extension method.
///
@@ -193,8 +201,10 @@ public static IList FindPetsByTags(this ISwaggerPetstoreV2 operations, ILis
///
/// Finds Pets by tags
///
+ ///
/// Muliple tags can be provided with comma seperated strings. Use tag1, tag2,
/// tag3 for testing.
+ ///
///
/// The operations group for this extension method.
///
@@ -215,8 +225,10 @@ public static IList FindPetsByTags(this ISwaggerPetstoreV2 operations, ILis
///
/// Finds Pets by tags
///
+ ///
/// Muliple tags can be provided with comma seperated strings. Use tag1, tag2,
/// tag3 for testing.
+ ///
///
/// The operations group for this extension method.
///
@@ -234,7 +246,9 @@ public static HttpOperationResponse> FindPetsByTagsWithHttpMessages(t
///
/// Find pet by Id
///
+ ///
/// Returns a single pet
+ ///
///
/// The operations group for this extension method.
///
@@ -249,7 +263,9 @@ public static Pet GetPetById(this ISwaggerPetstoreV2 operations, long petId)
///
/// Find pet by Id
///
+ ///
/// Returns a single pet
+ ///
///
/// The operations group for this extension method.
///
@@ -270,7 +286,9 @@ public static Pet GetPetById(this ISwaggerPetstoreV2 operations, long petId)
///
/// Find pet by Id
///
+ ///
/// Returns a single pet
+ ///
///
/// The operations group for this extension method.
///
@@ -417,7 +435,9 @@ public static HttpOperationResponse DeletePetWithHttpMessages(this ISwaggerPetst
///
/// Returns pet inventories by status
///
+ ///
/// Returns a map of status codes to quantities
+ ///
///
/// The operations group for this extension method.
///
@@ -429,7 +449,9 @@ public static HttpOperationResponse DeletePetWithHttpMessages(this ISwaggerPetst
///
/// Returns pet inventories by status
///
+ ///
/// Returns a map of status codes to quantities
+ ///
///
/// The operations group for this extension method.
///
@@ -447,7 +469,9 @@ public static HttpOperationResponse DeletePetWithHttpMessages(this ISwaggerPetst
///
/// Returns pet inventories by status
///
+ ///
/// Returns a map of status codes to quantities
+ ///
///
/// The operations group for this extension method.
///
@@ -513,8 +537,10 @@ public static HttpOperationResponse PlaceOrderWithHttpMessages(this ISwag
///
/// Find purchase order by Id
///
+ ///
/// For valid response try integer IDs with value <= 5 or > 10. Other
/// values will generated exceptions
+ ///
///
/// The operations group for this extension method.
///
@@ -529,8 +555,10 @@ public static Order GetOrderById(this ISwaggerPetstoreV2 operations, string orde
///
/// Find purchase order by Id
///
+ ///
/// For valid response try integer IDs with value <= 5 or > 10. Other
/// values will generated exceptions
+ ///
///
/// The operations group for this extension method.
///
@@ -551,8 +579,10 @@ public static Order GetOrderById(this ISwaggerPetstoreV2 operations, string orde
///
/// Find purchase order by Id
///
+ ///
/// For valid response try integer IDs with value <= 5 or > 10. Other
/// values will generated exceptions
+ ///
///
/// The operations group for this extension method.
///
@@ -570,8 +600,10 @@ public static HttpOperationResponse GetOrderByIdWithHttpMessages(this ISw
///
/// Delete purchase order by Id
///
+ ///
/// For valid response try integer IDs with value < 1000. Anything above
/// 1000 or nonintegers will generate API errors
+ ///
///
/// The operations group for this extension method.
///
@@ -586,8 +618,10 @@ public static void DeleteOrder(this ISwaggerPetstoreV2 operations, string orderI
///
/// Delete purchase order by Id
///
+ ///
/// For valid response try integer IDs with value < 1000. Anything above
/// 1000 or nonintegers will generate API errors
+ ///
///
/// The operations group for this extension method.
///
@@ -605,8 +639,10 @@ public static void DeleteOrder(this ISwaggerPetstoreV2 operations, string orderI
///
/// Delete purchase order by Id
///
+ ///
/// For valid response try integer IDs with value < 1000. Anything above
/// 1000 or nonintegers will generate API errors
+ ///
///
/// The operations group for this extension method.
///
@@ -624,7 +660,9 @@ public static HttpOperationResponse DeleteOrderWithHttpMessages(this ISwaggerPet
///
/// Create user
///
+ ///
/// This can only be done by the logged in user.
+ ///
///
/// The operations group for this extension method.
///
@@ -639,7 +677,9 @@ public static void CreateUser(this ISwaggerPetstoreV2 operations, User body)
///
/// Create user
///
+ ///
/// This can only be done by the logged in user.
+ ///
///
/// The operations group for this extension method.
///
@@ -657,7 +697,9 @@ public static void CreateUser(this ISwaggerPetstoreV2 operations, User body)
///
/// Create user
///
+ ///
/// This can only be done by the logged in user.
+ ///
///
/// The operations group for this extension method.
///
@@ -921,7 +963,9 @@ public static HttpOperationResponse GetUserByNameWithHttpMessages(this ISw
///
/// Updated user
///
+ ///
/// This can only be done by the logged in user.
+ ///
///
/// The operations group for this extension method.
///
@@ -939,7 +983,9 @@ public static void UpdateUser(this ISwaggerPetstoreV2 operations, string usernam
///
/// Updated user
///
+ ///
/// This can only be done by the logged in user.
+ ///
///
/// The operations group for this extension method.
///
@@ -960,7 +1006,9 @@ public static void UpdateUser(this ISwaggerPetstoreV2 operations, string usernam
///
/// Updated user
///
+ ///
/// This can only be done by the logged in user.
+ ///
///
/// The operations group for this extension method.
///
@@ -981,7 +1029,9 @@ public static HttpOperationResponse UpdateUserWithHttpMessages(this ISwaggerPets
///
/// Delete user
///
+ ///
/// This can only be done by the logged in user.
+ ///
///
/// The operations group for this extension method.
///
@@ -996,7 +1046,9 @@ public static void DeleteUser(this ISwaggerPetstoreV2 operations, string usernam
///
/// Delete user
///
+ ///
/// This can only be done by the logged in user.
+ ///
///
/// The operations group for this extension method.
///
@@ -1014,7 +1066,9 @@ public static void DeleteUser(this ISwaggerPetstoreV2 operations, string usernam
///
/// Delete user
///
+ ///
/// This can only be done by the logged in user.
+ ///
///
/// The operations group for this extension method.
///
diff --git a/AutoRest/Generators/CSharp/CSharp.Tests/Expected/PetstoreV2NoSync/ISwaggerPetstoreV2.cs b/AutoRest/Generators/CSharp/CSharp.Tests/Expected/PetstoreV2NoSync/ISwaggerPetstoreV2.cs
index 2e7c79b71f..045687c02c 100644
--- a/AutoRest/Generators/CSharp/CSharp.Tests/Expected/PetstoreV2NoSync/ISwaggerPetstoreV2.cs
+++ b/AutoRest/Generators/CSharp/CSharp.Tests/Expected/PetstoreV2NoSync/ISwaggerPetstoreV2.cs
@@ -73,7 +73,9 @@ public partial interface ISwaggerPetstoreV2 : IDisposable
///
/// Finds Pets by status
///
+ ///
/// Multiple status values can be provided with comma seperated strings
+ ///
///
/// Status values that need to be considered for filter
///
@@ -88,8 +90,10 @@ public partial interface ISwaggerPetstoreV2 : IDisposable
///
/// Finds Pets by tags
///
+ ///
/// Muliple tags can be provided with comma seperated strings. Use
/// tag1, tag2, tag3 for testing.
+ ///
///
/// Tags to filter by
///
@@ -104,7 +108,9 @@ public partial interface ISwaggerPetstoreV2 : IDisposable
///
/// Find pet by Id
///
+ ///
/// Returns a single pet
+ ///
///
/// Id of pet to return
///
@@ -158,7 +164,9 @@ public partial interface ISwaggerPetstoreV2 : IDisposable
///
/// Returns pet inventories by status
///
+ ///
/// Returns a map of status codes to quantities
+ ///
///
/// The headers that will be added to request.
///
@@ -184,8 +192,10 @@ public partial interface ISwaggerPetstoreV2 : IDisposable
///
/// Find purchase order by Id
///
+ ///
/// For valid response try integer IDs with value <= 5 or > 10.
/// Other values will generated exceptions
+ ///
///
/// Id of pet that needs to be fetched
///
@@ -200,8 +210,10 @@ public partial interface ISwaggerPetstoreV2 : IDisposable
///
/// Delete purchase order by Id
///
+ ///
/// For valid response try integer IDs with value < 1000. Anything
/// above 1000 or nonintegers will generate API errors
+ ///
///
/// Id of the order that needs to be deleted
///
@@ -216,7 +228,9 @@ public partial interface ISwaggerPetstoreV2 : IDisposable
///
/// Create user
///
+ ///
/// This can only be done by the logged in user.
+ ///
///
/// Created user object
///
@@ -301,7 +315,9 @@ public partial interface ISwaggerPetstoreV2 : IDisposable
///
/// Updated user
///
+ ///
/// This can only be done by the logged in user.
+ ///
///
/// name that need to be deleted
///
@@ -319,7 +335,9 @@ public partial interface ISwaggerPetstoreV2 : IDisposable
///
/// Delete user
///
+ ///
/// This can only be done by the logged in user.
+ ///
///
/// The name that needs to be deleted
///
diff --git a/AutoRest/Generators/CSharp/CSharp.Tests/Expected/PetstoreV2NoSync/SwaggerPetstoreV2.cs b/AutoRest/Generators/CSharp/CSharp.Tests/Expected/PetstoreV2NoSync/SwaggerPetstoreV2.cs
index 6dc2cc7192..17052bd675 100644
--- a/AutoRest/Generators/CSharp/CSharp.Tests/Expected/PetstoreV2NoSync/SwaggerPetstoreV2.cs
+++ b/AutoRest/Generators/CSharp/CSharp.Tests/Expected/PetstoreV2NoSync/SwaggerPetstoreV2.cs
@@ -405,7 +405,9 @@ private void Initialize()
///
/// Finds Pets by status
///
+ ///
/// Multiple status values can be provided with comma seperated strings
+ ///
///
/// Status values that need to be considered for filter
///
@@ -539,8 +541,10 @@ private void Initialize()
///
/// Finds Pets by tags
///
+ ///
/// Muliple tags can be provided with comma seperated strings. Use tag1, tag2,
/// tag3 for testing.
+ ///
///
/// Tags to filter by
///
@@ -674,7 +678,9 @@ private void Initialize()
///
/// Find pet by Id
///
+ ///
/// Returns a single pet
+ ///
///
/// Id of pet to return
///
@@ -1043,7 +1049,9 @@ private void Initialize()
///
/// Returns pet inventories by status
///
+ ///
/// Returns a map of status codes to quantities
+ ///
///
/// Headers that will be added to request.
///
@@ -1287,8 +1295,10 @@ private void Initialize()
///
/// Find purchase order by Id
///
+ ///
/// For valid response try integer IDs with value <= 5 or > 10. Other
/// values will generated exceptions
+ ///
///
/// Id of pet that needs to be fetched
///
@@ -1425,8 +1435,10 @@ private void Initialize()
///
/// Delete purchase order by Id
///
+ ///
/// For valid response try integer IDs with value < 1000. Anything above
/// 1000 or nonintegers will generate API errors
+ ///
///
/// Id of the order that needs to be deleted
///
@@ -1538,7 +1550,9 @@ private void Initialize()
///
/// Create user
///
+ ///
/// This can only be done by the logged in user.
+ ///
///
/// Created user object
///
@@ -2241,7 +2255,9 @@ private void Initialize()
///
/// Updated user
///
+ ///
/// This can only be done by the logged in user.
+ ///
///
/// name that need to be deleted
///
@@ -2360,7 +2376,9 @@ private void Initialize()
///
/// Delete user
///
+ ///
/// This can only be done by the logged in user.
+ ///
///
/// The name that needs to be deleted
///
diff --git a/AutoRest/Generators/CSharp/CSharp.Tests/Expected/PetstoreV2NoSync/SwaggerPetstoreV2Extensions.cs b/AutoRest/Generators/CSharp/CSharp.Tests/Expected/PetstoreV2NoSync/SwaggerPetstoreV2Extensions.cs
index 6f86040771..1b5fe0a11c 100644
--- a/AutoRest/Generators/CSharp/CSharp.Tests/Expected/PetstoreV2NoSync/SwaggerPetstoreV2Extensions.cs
+++ b/AutoRest/Generators/CSharp/CSharp.Tests/Expected/PetstoreV2NoSync/SwaggerPetstoreV2Extensions.cs
@@ -61,7 +61,9 @@ public static partial class SwaggerPetstoreV2Extensions
///
/// Finds Pets by status
///
+ ///
/// Multiple status values can be provided with comma seperated strings
+ ///
///
/// The operations group for this extension method.
///
@@ -82,8 +84,10 @@ public static partial class SwaggerPetstoreV2Extensions
///
/// Finds Pets by tags
///
+ ///
/// Muliple tags can be provided with comma seperated strings. Use tag1, tag2,
/// tag3 for testing.
+ ///
///
/// The operations group for this extension method.
///
@@ -104,7 +108,9 @@ public static partial class SwaggerPetstoreV2Extensions
///
/// Find pet by Id
///
+ ///
/// Returns a single pet
+ ///
///
/// The operations group for this extension method.
///
@@ -170,7 +176,9 @@ public static partial class SwaggerPetstoreV2Extensions
///
/// Returns pet inventories by status
///
+ ///
/// Returns a map of status codes to quantities
+ ///
///
/// The operations group for this extension method.
///
@@ -208,8 +216,10 @@ public static partial class SwaggerPetstoreV2Extensions
///
/// Find purchase order by Id
///
+ ///
/// For valid response try integer IDs with value <= 5 or > 10. Other
/// values will generated exceptions
+ ///
///
/// The operations group for this extension method.
///
@@ -230,8 +240,10 @@ public static partial class SwaggerPetstoreV2Extensions
///
/// Delete purchase order by Id
///
+ ///
/// For valid response try integer IDs with value < 1000. Anything above
/// 1000 or nonintegers will generate API errors
+ ///
///
/// The operations group for this extension method.
///
@@ -249,7 +261,9 @@ public static partial class SwaggerPetstoreV2Extensions
///
/// Create user
///
+ ///
/// This can only be done by the logged in user.
+ ///
///
/// The operations group for this extension method.
///
@@ -358,7 +372,9 @@ public static partial class SwaggerPetstoreV2Extensions
///
/// Updated user
///
+ ///
/// This can only be done by the logged in user.
+ ///
///
/// The operations group for this extension method.
///
@@ -379,7 +395,9 @@ public static partial class SwaggerPetstoreV2Extensions
///
/// Delete user
///
+ ///
/// This can only be done by the logged in user.
+ ///
///
/// The operations group for this extension method.
///
diff --git a/AutoRest/Generators/NodeJS/Azure.NodeJS.Tests/Expected/AcceptanceTests/AzureCompositeModelClient/models/index.d.ts b/AutoRest/Generators/NodeJS/Azure.NodeJS.Tests/Expected/AcceptanceTests/AzureCompositeModelClient/models/index.d.ts
index 96bc5bc30b..7bae7132cb 100644
--- a/AutoRest/Generators/NodeJS/Azure.NodeJS.Tests/Expected/AcceptanceTests/AzureCompositeModelClient/models/index.d.ts
+++ b/AutoRest/Generators/NodeJS/Azure.NodeJS.Tests/Expected/AcceptanceTests/AzureCompositeModelClient/models/index.d.ts
@@ -15,6 +15,7 @@
* Initializes a new instance of the Product class.
* @constructor
* The product documentation.
+ *
* @member {string} [productId] Unique identifier representing a specific
* product for a given latitude & longitude. For example, uberX in San
* Francisco will have a different product_id than uberX in Los Angeles.
@@ -24,6 +25,7 @@
* @member {string} [displayName] Display name of product.
*
* @member {string} [capacity] Capacity of product. For example, 4 people.
+ * Default value: '100' .
*
* @member {string} [image] Image URL representing the product.
*
diff --git a/AutoRest/Generators/NodeJS/Azure.NodeJS.Tests/Expected/AcceptanceTests/AzureCompositeModelClient/models/product.js b/AutoRest/Generators/NodeJS/Azure.NodeJS.Tests/Expected/AcceptanceTests/AzureCompositeModelClient/models/product.js
index 5fdaec7dea..f6631895cd 100644
--- a/AutoRest/Generators/NodeJS/Azure.NodeJS.Tests/Expected/AcceptanceTests/AzureCompositeModelClient/models/product.js
+++ b/AutoRest/Generators/NodeJS/Azure.NodeJS.Tests/Expected/AcceptanceTests/AzureCompositeModelClient/models/product.js
@@ -15,6 +15,7 @@
* Initializes a new instance of the Product class.
* @constructor
* The product documentation.
+ *
* @member {string} [productId] Unique identifier representing a specific
* product for a given latitude & longitude. For example, uberX in San
* Francisco will have a different product_id than uberX in Los Angeles.
diff --git a/AutoRest/Generators/NodeJS/Azure.NodeJS.Tests/Expected/AcceptanceTests/AzureParameterGrouping/models/firstParameterGroup.js b/AutoRest/Generators/NodeJS/Azure.NodeJS.Tests/Expected/AcceptanceTests/AzureParameterGrouping/models/firstParameterGroup.js
index 30da6b2ad3..042db8d455 100644
--- a/AutoRest/Generators/NodeJS/Azure.NodeJS.Tests/Expected/AcceptanceTests/AzureParameterGrouping/models/firstParameterGroup.js
+++ b/AutoRest/Generators/NodeJS/Azure.NodeJS.Tests/Expected/AcceptanceTests/AzureParameterGrouping/models/firstParameterGroup.js
@@ -17,6 +17,7 @@
* Additional parameters for a set of operations, such as:
* parameterGrouping_postMultiParamGroups,
* parameterGrouping_postSharedParameterGroupObject.
+ *
* @member {string} [headerOne]
*
* @member {number} [queryOne] Query parameter with default. Default value: 30
diff --git a/AutoRest/Generators/NodeJS/Azure.NodeJS.Tests/Expected/AcceptanceTests/AzureParameterGrouping/models/index.d.ts b/AutoRest/Generators/NodeJS/Azure.NodeJS.Tests/Expected/AcceptanceTests/AzureParameterGrouping/models/index.d.ts
index 16a7ffc754..f35dbd5fca 100644
--- a/AutoRest/Generators/NodeJS/Azure.NodeJS.Tests/Expected/AcceptanceTests/AzureParameterGrouping/models/index.d.ts
+++ b/AutoRest/Generators/NodeJS/Azure.NodeJS.Tests/Expected/AcceptanceTests/AzureParameterGrouping/models/index.d.ts
@@ -29,11 +29,12 @@ export interface ErrorModel {
* Initializes a new instance of the ParameterGroupingPostRequiredParameters class.
* @constructor
* Additional parameters for the parameterGrouping_postRequired operation.
+ *
* @member {number} body
*
* @member {string} [customHeader]
*
- * @member {number} [query] Query parameter with default
+ * @member {number} [query] Query parameter with default. Default value: 30 .
*
* @member {string} path Path parameter
*
@@ -50,9 +51,10 @@ export interface ParameterGroupingPostRequiredParameters {
* Initializes a new instance of the ParameterGroupingPostOptionalParameters class.
* @constructor
* Additional parameters for the parameterGrouping_postOptional operation.
+ *
* @member {string} [customHeader]
*
- * @member {number} [query] Query parameter with default
+ * @member {number} [query] Query parameter with default. Default value: 30 .
*
*/
export interface ParameterGroupingPostOptionalParameters {
@@ -67,9 +69,11 @@ export interface ParameterGroupingPostOptionalParameters {
* Additional parameters for a set of operations, such as:
* parameterGrouping_postMultiParamGroups,
* parameterGrouping_postSharedParameterGroupObject.
+ *
* @member {string} [headerOne]
*
- * @member {number} [queryOne] Query parameter with default
+ * @member {number} [queryOne] Query parameter with default. Default value: 30
+ * .
*
*/
export interface FirstParameterGroup {
@@ -83,9 +87,11 @@ export interface FirstParameterGroup {
* @constructor
* Additional parameters for the parameterGrouping_postMultiParamGroups
* operation.
+ *
* @member {string} [headerTwo]
*
- * @member {number} [queryTwo] Query parameter with default
+ * @member {number} [queryTwo] Query parameter with default. Default value: 30
+ * .
*
*/
export interface ParameterGroupingPostMultiParamGroupsSecondParamGroup {
diff --git a/AutoRest/Generators/NodeJS/Azure.NodeJS.Tests/Expected/AcceptanceTests/AzureParameterGrouping/models/parameterGroupingPostMultiParamGroupsSecondParamGroup.js b/AutoRest/Generators/NodeJS/Azure.NodeJS.Tests/Expected/AcceptanceTests/AzureParameterGrouping/models/parameterGroupingPostMultiParamGroupsSecondParamGroup.js
index 430f4f669f..cf05266128 100644
--- a/AutoRest/Generators/NodeJS/Azure.NodeJS.Tests/Expected/AcceptanceTests/AzureParameterGrouping/models/parameterGroupingPostMultiParamGroupsSecondParamGroup.js
+++ b/AutoRest/Generators/NodeJS/Azure.NodeJS.Tests/Expected/AcceptanceTests/AzureParameterGrouping/models/parameterGroupingPostMultiParamGroupsSecondParamGroup.js
@@ -16,6 +16,7 @@
* @constructor
* Additional parameters for the parameterGrouping_postMultiParamGroups
* operation.
+ *
* @member {string} [headerTwo]
*
* @member {number} [queryTwo] Query parameter with default. Default value: 30
diff --git a/AutoRest/Generators/NodeJS/Azure.NodeJS.Tests/Expected/AcceptanceTests/AzureParameterGrouping/models/parameterGroupingPostOptionalParameters.js b/AutoRest/Generators/NodeJS/Azure.NodeJS.Tests/Expected/AcceptanceTests/AzureParameterGrouping/models/parameterGroupingPostOptionalParameters.js
index b100000a14..adffff32b2 100644
--- a/AutoRest/Generators/NodeJS/Azure.NodeJS.Tests/Expected/AcceptanceTests/AzureParameterGrouping/models/parameterGroupingPostOptionalParameters.js
+++ b/AutoRest/Generators/NodeJS/Azure.NodeJS.Tests/Expected/AcceptanceTests/AzureParameterGrouping/models/parameterGroupingPostOptionalParameters.js
@@ -15,6 +15,7 @@
* Initializes a new instance of the ParameterGroupingPostOptionalParameters class.
* @constructor
* Additional parameters for the parameterGrouping_postOptional operation.
+ *
* @member {string} [customHeader]
*
* @member {number} [query] Query parameter with default. Default value: 30 .
diff --git a/AutoRest/Generators/NodeJS/Azure.NodeJS.Tests/Expected/AcceptanceTests/AzureParameterGrouping/models/parameterGroupingPostRequiredParameters.js b/AutoRest/Generators/NodeJS/Azure.NodeJS.Tests/Expected/AcceptanceTests/AzureParameterGrouping/models/parameterGroupingPostRequiredParameters.js
index 70dfd11124..ece3655c50 100644
--- a/AutoRest/Generators/NodeJS/Azure.NodeJS.Tests/Expected/AcceptanceTests/AzureParameterGrouping/models/parameterGroupingPostRequiredParameters.js
+++ b/AutoRest/Generators/NodeJS/Azure.NodeJS.Tests/Expected/AcceptanceTests/AzureParameterGrouping/models/parameterGroupingPostRequiredParameters.js
@@ -15,6 +15,7 @@
* Initializes a new instance of the ParameterGroupingPostRequiredParameters class.
* @constructor
* Additional parameters for the parameterGrouping_postRequired operation.
+ *
* @member {number} body
*
* @member {string} [customHeader]
diff --git a/AutoRest/Generators/NodeJS/Azure.NodeJS.Tests/Expected/AcceptanceTests/AzureSpecials/models/headerCustomNamedRequestIdParamGroupingParameters.js b/AutoRest/Generators/NodeJS/Azure.NodeJS.Tests/Expected/AcceptanceTests/AzureSpecials/models/headerCustomNamedRequestIdParamGroupingParameters.js
index 2b45428471..896161a651 100644
--- a/AutoRest/Generators/NodeJS/Azure.NodeJS.Tests/Expected/AcceptanceTests/AzureSpecials/models/headerCustomNamedRequestIdParamGroupingParameters.js
+++ b/AutoRest/Generators/NodeJS/Azure.NodeJS.Tests/Expected/AcceptanceTests/AzureSpecials/models/headerCustomNamedRequestIdParamGroupingParameters.js
@@ -16,6 +16,7 @@
* @constructor
* Additional parameters for the header_customNamedRequestIdParamGrouping
* operation.
+ *
* @member {string} fooClientRequestId The fooRequestId
*
*/
diff --git a/AutoRest/Generators/NodeJS/Azure.NodeJS.Tests/Expected/AcceptanceTests/AzureSpecials/models/index.d.ts b/AutoRest/Generators/NodeJS/Azure.NodeJS.Tests/Expected/AcceptanceTests/AzureSpecials/models/index.d.ts
index 8f3a9cb6ce..04da00fafe 100644
--- a/AutoRest/Generators/NodeJS/Azure.NodeJS.Tests/Expected/AcceptanceTests/AzureSpecials/models/index.d.ts
+++ b/AutoRest/Generators/NodeJS/Azure.NodeJS.Tests/Expected/AcceptanceTests/AzureSpecials/models/index.d.ts
@@ -47,6 +47,7 @@ export interface OdataFilter {
* @constructor
* Additional parameters for the header_customNamedRequestIdParamGrouping
* operation.
+ *
* @member {string} fooClientRequestId The fooRequestId
*
*/
diff --git a/AutoRest/Generators/NodeJS/Azure.NodeJS.Tests/Expected/AcceptanceTests/Paging/models/index.d.ts b/AutoRest/Generators/NodeJS/Azure.NodeJS.Tests/Expected/AcceptanceTests/Paging/models/index.d.ts
index 4df2fb2dc1..6f670aa378 100644
--- a/AutoRest/Generators/NodeJS/Azure.NodeJS.Tests/Expected/AcceptanceTests/Paging/models/index.d.ts
+++ b/AutoRest/Generators/NodeJS/Azure.NodeJS.Tests/Expected/AcceptanceTests/Paging/models/index.d.ts
@@ -57,11 +57,13 @@ export interface OperationResult {
* Initializes a new instance of the PagingGetMultiplePagesOptions class.
* @constructor
* Additional parameters for the Paging_getMultiplePages operation.
+ *
* @member {number} [maxresults] Sets the maximum number of items to return in
* the response.
*
* @member {number} [timeout] Sets the maximum time that the server can spend
- * processing the request, in seconds. The default is 30 seconds.
+ * processing the request, in seconds. The default is 30 seconds. Default
+ * value: 30 .
*
*/
export interface PagingGetMultiplePagesOptions {
@@ -74,13 +76,15 @@ export interface PagingGetMultiplePagesOptions {
* Initializes a new instance of the PagingGetMultiplePagesWithOffsetOptions class.
* @constructor
* Additional parameters for the Paging_getMultiplePagesWithOffset operation.
+ *
* @member {number} [maxresults] Sets the maximum number of items to return in
* the response.
*
* @member {number} offset Offset of return value
*
* @member {number} [timeout] Sets the maximum time that the server can spend
- * processing the request, in seconds. The default is 30 seconds.
+ * processing the request, in seconds. The default is 30 seconds. Default
+ * value: 30 .
*
*/
export interface PagingGetMultiplePagesWithOffsetOptions {
@@ -94,11 +98,13 @@ export interface PagingGetMultiplePagesWithOffsetOptions {
* Initializes a new instance of the PagingGetMultiplePagesWithOffsetNextOptions class.
* @constructor
* Additional parameters for the getMultiplePagesWithOffsetNext operation.
+ *
* @member {number} [maxresults] Sets the maximum number of items to return in
* the response.
*
* @member {number} [timeout] Sets the maximum time that the server can spend
- * processing the request, in seconds. The default is 30 seconds.
+ * processing the request, in seconds. The default is 30 seconds. Default
+ * value: 30 .
*
*/
export interface PagingGetMultiplePagesWithOffsetNextOptions {
diff --git a/AutoRest/Generators/NodeJS/Azure.NodeJS.Tests/Expected/AcceptanceTests/Paging/models/pagingGetMultiplePagesOptions.js b/AutoRest/Generators/NodeJS/Azure.NodeJS.Tests/Expected/AcceptanceTests/Paging/models/pagingGetMultiplePagesOptions.js
index 054ea7a991..021679c7c7 100644
--- a/AutoRest/Generators/NodeJS/Azure.NodeJS.Tests/Expected/AcceptanceTests/Paging/models/pagingGetMultiplePagesOptions.js
+++ b/AutoRest/Generators/NodeJS/Azure.NodeJS.Tests/Expected/AcceptanceTests/Paging/models/pagingGetMultiplePagesOptions.js
@@ -15,6 +15,7 @@
* Initializes a new instance of the PagingGetMultiplePagesOptions class.
* @constructor
* Additional parameters for the Paging_getMultiplePages operation.
+ *
* @member {number} [maxresults] Sets the maximum number of items to return in
* the response.
*
diff --git a/AutoRest/Generators/NodeJS/Azure.NodeJS.Tests/Expected/AcceptanceTests/Paging/models/pagingGetMultiplePagesWithOffsetNextOptions.js b/AutoRest/Generators/NodeJS/Azure.NodeJS.Tests/Expected/AcceptanceTests/Paging/models/pagingGetMultiplePagesWithOffsetNextOptions.js
index c98cdf22bc..7bb0f155a9 100644
--- a/AutoRest/Generators/NodeJS/Azure.NodeJS.Tests/Expected/AcceptanceTests/Paging/models/pagingGetMultiplePagesWithOffsetNextOptions.js
+++ b/AutoRest/Generators/NodeJS/Azure.NodeJS.Tests/Expected/AcceptanceTests/Paging/models/pagingGetMultiplePagesWithOffsetNextOptions.js
@@ -15,6 +15,7 @@
* Initializes a new instance of the PagingGetMultiplePagesWithOffsetNextOptions class.
* @constructor
* Additional parameters for the getMultiplePagesWithOffsetNext operation.
+ *
* @member {number} [maxresults] Sets the maximum number of items to return in
* the response.
*
diff --git a/AutoRest/Generators/NodeJS/Azure.NodeJS.Tests/Expected/AcceptanceTests/Paging/models/pagingGetMultiplePagesWithOffsetOptions.js b/AutoRest/Generators/NodeJS/Azure.NodeJS.Tests/Expected/AcceptanceTests/Paging/models/pagingGetMultiplePagesWithOffsetOptions.js
index 03b9df22d9..76cd7b93bb 100644
--- a/AutoRest/Generators/NodeJS/Azure.NodeJS.Tests/Expected/AcceptanceTests/Paging/models/pagingGetMultiplePagesWithOffsetOptions.js
+++ b/AutoRest/Generators/NodeJS/Azure.NodeJS.Tests/Expected/AcceptanceTests/Paging/models/pagingGetMultiplePagesWithOffsetOptions.js
@@ -15,6 +15,7 @@
* Initializes a new instance of the PagingGetMultiplePagesWithOffsetOptions class.
* @constructor
* Additional parameters for the Paging_getMultiplePagesWithOffset operation.
+ *
* @member {number} [maxresults] Sets the maximum number of items to return in
* the response.
*
diff --git a/AutoRest/Generators/NodeJS/Azure.NodeJS.Tests/Expected/AcceptanceTests/StorageManagementClient/models/bar.js b/AutoRest/Generators/NodeJS/Azure.NodeJS.Tests/Expected/AcceptanceTests/StorageManagementClient/models/bar.js
index 284ccac588..e1c849ddc8 100644
--- a/AutoRest/Generators/NodeJS/Azure.NodeJS.Tests/Expected/AcceptanceTests/StorageManagementClient/models/bar.js
+++ b/AutoRest/Generators/NodeJS/Azure.NodeJS.Tests/Expected/AcceptanceTests/StorageManagementClient/models/bar.js
@@ -18,6 +18,7 @@ var models = require('./index');
* @constructor
* The URIs that are used to perform a retrieval of a public blob, queue or
* table object.
+ *
* @member {object} [recursivePoint] Recursive Endpoints
*
* @member {string} [recursivePoint.blob] Gets the blob endpoint.
diff --git a/AutoRest/Generators/NodeJS/Azure.NodeJS.Tests/Expected/AcceptanceTests/StorageManagementClient/models/checkNameAvailabilityResult.js b/AutoRest/Generators/NodeJS/Azure.NodeJS.Tests/Expected/AcceptanceTests/StorageManagementClient/models/checkNameAvailabilityResult.js
index 387758d545..9feb4e6cc8 100644
--- a/AutoRest/Generators/NodeJS/Azure.NodeJS.Tests/Expected/AcceptanceTests/StorageManagementClient/models/checkNameAvailabilityResult.js
+++ b/AutoRest/Generators/NodeJS/Azure.NodeJS.Tests/Expected/AcceptanceTests/StorageManagementClient/models/checkNameAvailabilityResult.js
@@ -15,6 +15,7 @@
* Initializes a new instance of the CheckNameAvailabilityResult class.
* @constructor
* The CheckNameAvailability operation response.
+ *
* @member {boolean} [nameAvailable] Gets a boolean value that indicates
* whether the name is available for you to use. If true, the name is
* available. If false, the name has already been taken or invalid and cannot
diff --git a/AutoRest/Generators/NodeJS/Azure.NodeJS.Tests/Expected/AcceptanceTests/StorageManagementClient/models/customDomain.js b/AutoRest/Generators/NodeJS/Azure.NodeJS.Tests/Expected/AcceptanceTests/StorageManagementClient/models/customDomain.js
index a5aa93d6c0..b50d253a6e 100644
--- a/AutoRest/Generators/NodeJS/Azure.NodeJS.Tests/Expected/AcceptanceTests/StorageManagementClient/models/customDomain.js
+++ b/AutoRest/Generators/NodeJS/Azure.NodeJS.Tests/Expected/AcceptanceTests/StorageManagementClient/models/customDomain.js
@@ -16,6 +16,7 @@
* @constructor
* The custom domain assigned to this storage account. This can be set via
* Update.
+ *
* @member {string} [name] Gets or sets the custom domain name. Name is the
* CNAME source.
*
diff --git a/AutoRest/Generators/NodeJS/Azure.NodeJS.Tests/Expected/AcceptanceTests/StorageManagementClient/models/endpoints.js b/AutoRest/Generators/NodeJS/Azure.NodeJS.Tests/Expected/AcceptanceTests/StorageManagementClient/models/endpoints.js
index 6f2b661f30..2d8273db48 100644
--- a/AutoRest/Generators/NodeJS/Azure.NodeJS.Tests/Expected/AcceptanceTests/StorageManagementClient/models/endpoints.js
+++ b/AutoRest/Generators/NodeJS/Azure.NodeJS.Tests/Expected/AcceptanceTests/StorageManagementClient/models/endpoints.js
@@ -18,6 +18,7 @@ var models = require('./index');
* @constructor
* The URIs that are used to perform a retrieval of a public blob, queue or
* table object.
+ *
* @member {string} [blob] Gets the blob endpoint.
*
* @member {string} [queue] Gets the queue endpoint.
diff --git a/AutoRest/Generators/NodeJS/Azure.NodeJS.Tests/Expected/AcceptanceTests/StorageManagementClient/models/foo.js b/AutoRest/Generators/NodeJS/Azure.NodeJS.Tests/Expected/AcceptanceTests/StorageManagementClient/models/foo.js
index 214bb6721c..75fff2e038 100644
--- a/AutoRest/Generators/NodeJS/Azure.NodeJS.Tests/Expected/AcceptanceTests/StorageManagementClient/models/foo.js
+++ b/AutoRest/Generators/NodeJS/Azure.NodeJS.Tests/Expected/AcceptanceTests/StorageManagementClient/models/foo.js
@@ -18,6 +18,7 @@ var models = require('./index');
* @constructor
* The URIs that are used to perform a retrieval of a public blob, queue or
* table object.
+ *
* @member {object} [barPoint] Bar point
*
* @member {object} [barPoint.recursivePoint] Recursive Endpoints
diff --git a/AutoRest/Generators/NodeJS/Azure.NodeJS.Tests/Expected/AcceptanceTests/StorageManagementClient/models/index.d.ts b/AutoRest/Generators/NodeJS/Azure.NodeJS.Tests/Expected/AcceptanceTests/StorageManagementClient/models/index.d.ts
index 0a08f885ee..182273a1eb 100644
--- a/AutoRest/Generators/NodeJS/Azure.NodeJS.Tests/Expected/AcceptanceTests/StorageManagementClient/models/index.d.ts
+++ b/AutoRest/Generators/NodeJS/Azure.NodeJS.Tests/Expected/AcceptanceTests/StorageManagementClient/models/index.d.ts
@@ -16,7 +16,8 @@
* @constructor
* @member {string} name
*
- * @member {string} [type]
+ * @member {string} [type] Default value: 'Microsoft.Storage/storageAccounts'
+ * .
*
*/
export interface StorageAccountCheckNameAvailabilityParameters {
@@ -29,6 +30,7 @@ export interface StorageAccountCheckNameAvailabilityParameters {
* Initializes a new instance of the CheckNameAvailabilityResult class.
* @constructor
* The CheckNameAvailability operation response.
+ *
* @member {boolean} [nameAvailable] Gets a boolean value that indicates
* whether the name is available for you to use. If true, the name is
* available. If false, the name has already been taken or invalid and cannot
@@ -76,6 +78,7 @@ export interface Resource extends BaseResource {
* Initializes a new instance of the StorageAccountCreateParameters class.
* @constructor
* The parameters to provide for the account.
+ *
* @member {string} [accountType] Gets or sets the account type. Possible
* values include: 'Standard_LRS', 'Standard_ZRS', 'Standard_GRS',
* 'Standard_RAGRS', 'Premium_LRS'
@@ -91,6 +94,7 @@ export interface StorageAccountCreateParameters extends Resource {
* @constructor
* The URIs that are used to perform a retrieval of a public blob, queue or
* table object.
+ *
* @member {string} [blob] Gets the blob endpoint.
*
* @member {string} [queue] Gets the queue endpoint.
@@ -120,6 +124,7 @@ export interface Endpoints {
* @constructor
* The URIs that are used to perform a retrieval of a public blob, queue or
* table object.
+ *
* @member {object} [barPoint] Bar point
*
* @member {object} [barPoint.recursivePoint] Recursive Endpoints
@@ -145,6 +150,7 @@ export interface Foo {
* @constructor
* The URIs that are used to perform a retrieval of a public blob, queue or
* table object.
+ *
* @member {object} [recursivePoint] Recursive Endpoints
*
* @member {string} [recursivePoint.blob] Gets the blob endpoint.
@@ -170,6 +176,7 @@ export interface Bar {
* @constructor
* The custom domain assigned to this storage account. This can be set via
* Update.
+ *
* @member {string} [name] Gets or sets the custom domain name. Name is the
* CNAME source.
*
@@ -188,6 +195,7 @@ export interface CustomDomain {
* Initializes a new instance of the StorageAccount class.
* @constructor
* The storage account.
+ *
* @member {string} [provisioningState] Gets the status of the storage account
* at the time the operation was called. Possible values include: 'Creating',
* 'ResolvingDNS', 'Succeeded'
@@ -290,6 +298,7 @@ export interface StorageAccount extends Resource {
* Initializes a new instance of the StorageAccountKeys class.
* @constructor
* The access keys for the storage account.
+ *
* @member {string} [key1] Gets the value of key 1.
*
* @member {string} [key2] Gets the value of key 2.
@@ -305,6 +314,7 @@ export interface StorageAccountKeys {
* Initializes a new instance of the StorageAccountUpdateParameters class.
* @constructor
* The parameters to update on the account.
+ *
* @member {string} [accountType] Gets or sets the account type. Note that
* StandardZRS and PremiumLRS accounts cannot be changed to other account
* types, and other account types cannot be changed to StandardZRS or
@@ -345,6 +355,7 @@ export interface StorageAccountRegenerateKeyParameters {
* Initializes a new instance of the UsageName class.
* @constructor
* The Usage Names.
+ *
* @member {string} [value] Gets a string describing the resource name.
*
* @member {string} [localizedValue] Gets a localized string describing the
@@ -361,6 +372,7 @@ export interface UsageName {
* Initializes a new instance of the Usage class.
* @constructor
* Describes Storage Resource Usage.
+ *
* @member {string} [unit] Gets the unit of measurement. Possible values
* include: 'Count', 'Bytes', 'Seconds', 'Percent', 'CountsPerSecond',
* 'BytesPerSecond'
@@ -391,6 +403,7 @@ export interface Usage {
* Initializes a new instance of the UsageListResult class.
* @constructor
* The List Usages operation response.
+ *
* @member {array} [value] Gets or sets the list Storage Resource Usages.
*
*/
diff --git a/AutoRest/Generators/NodeJS/Azure.NodeJS.Tests/Expected/AcceptanceTests/StorageManagementClient/models/storageAccount.js b/AutoRest/Generators/NodeJS/Azure.NodeJS.Tests/Expected/AcceptanceTests/StorageManagementClient/models/storageAccount.js
index 18f32baafd..a900140b3c 100644
--- a/AutoRest/Generators/NodeJS/Azure.NodeJS.Tests/Expected/AcceptanceTests/StorageManagementClient/models/storageAccount.js
+++ b/AutoRest/Generators/NodeJS/Azure.NodeJS.Tests/Expected/AcceptanceTests/StorageManagementClient/models/storageAccount.js
@@ -19,6 +19,7 @@ var util = require('util');
* Initializes a new instance of the StorageAccount class.
* @constructor
* The storage account.
+ *
* @member {string} [provisioningState] Gets the status of the storage account
* at the time the operation was called. Possible values include: 'Creating',
* 'ResolvingDNS', 'Succeeded'
diff --git a/AutoRest/Generators/NodeJS/Azure.NodeJS.Tests/Expected/AcceptanceTests/StorageManagementClient/models/storageAccountCreateParameters.js b/AutoRest/Generators/NodeJS/Azure.NodeJS.Tests/Expected/AcceptanceTests/StorageManagementClient/models/storageAccountCreateParameters.js
index f4567be2b2..591dec7d72 100644
--- a/AutoRest/Generators/NodeJS/Azure.NodeJS.Tests/Expected/AcceptanceTests/StorageManagementClient/models/storageAccountCreateParameters.js
+++ b/AutoRest/Generators/NodeJS/Azure.NodeJS.Tests/Expected/AcceptanceTests/StorageManagementClient/models/storageAccountCreateParameters.js
@@ -19,6 +19,7 @@ var util = require('util');
* Initializes a new instance of the StorageAccountCreateParameters class.
* @constructor
* The parameters to provide for the account.
+ *
* @member {string} [accountType] Gets or sets the account type. Possible
* values include: 'Standard_LRS', 'Standard_ZRS', 'Standard_GRS',
* 'Standard_RAGRS', 'Premium_LRS'
diff --git a/AutoRest/Generators/NodeJS/Azure.NodeJS.Tests/Expected/AcceptanceTests/StorageManagementClient/models/storageAccountKeys.js b/AutoRest/Generators/NodeJS/Azure.NodeJS.Tests/Expected/AcceptanceTests/StorageManagementClient/models/storageAccountKeys.js
index b959566600..37d8bd63bd 100644
--- a/AutoRest/Generators/NodeJS/Azure.NodeJS.Tests/Expected/AcceptanceTests/StorageManagementClient/models/storageAccountKeys.js
+++ b/AutoRest/Generators/NodeJS/Azure.NodeJS.Tests/Expected/AcceptanceTests/StorageManagementClient/models/storageAccountKeys.js
@@ -15,6 +15,7 @@
* Initializes a new instance of the StorageAccountKeys class.
* @constructor
* The access keys for the storage account.
+ *
* @member {string} [key1] Gets the value of key 1.
*
* @member {string} [key2] Gets the value of key 2.
diff --git a/AutoRest/Generators/NodeJS/Azure.NodeJS.Tests/Expected/AcceptanceTests/StorageManagementClient/models/storageAccountUpdateParameters.js b/AutoRest/Generators/NodeJS/Azure.NodeJS.Tests/Expected/AcceptanceTests/StorageManagementClient/models/storageAccountUpdateParameters.js
index 2b9f953b89..47c337a80b 100644
--- a/AutoRest/Generators/NodeJS/Azure.NodeJS.Tests/Expected/AcceptanceTests/StorageManagementClient/models/storageAccountUpdateParameters.js
+++ b/AutoRest/Generators/NodeJS/Azure.NodeJS.Tests/Expected/AcceptanceTests/StorageManagementClient/models/storageAccountUpdateParameters.js
@@ -19,6 +19,7 @@ var util = require('util');
* Initializes a new instance of the StorageAccountUpdateParameters class.
* @constructor
* The parameters to update on the account.
+ *
* @member {string} [accountType] Gets or sets the account type. Note that
* StandardZRS and PremiumLRS accounts cannot be changed to other account
* types, and other account types cannot be changed to StandardZRS or
diff --git a/AutoRest/Generators/NodeJS/Azure.NodeJS.Tests/Expected/AcceptanceTests/StorageManagementClient/models/usage.js b/AutoRest/Generators/NodeJS/Azure.NodeJS.Tests/Expected/AcceptanceTests/StorageManagementClient/models/usage.js
index 5a45849377..f3f911ce3b 100644
--- a/AutoRest/Generators/NodeJS/Azure.NodeJS.Tests/Expected/AcceptanceTests/StorageManagementClient/models/usage.js
+++ b/AutoRest/Generators/NodeJS/Azure.NodeJS.Tests/Expected/AcceptanceTests/StorageManagementClient/models/usage.js
@@ -17,6 +17,7 @@ var models = require('./index');
* Initializes a new instance of the Usage class.
* @constructor
* Describes Storage Resource Usage.
+ *
* @member {string} [unit] Gets the unit of measurement. Possible values
* include: 'Count', 'Bytes', 'Seconds', 'Percent', 'CountsPerSecond',
* 'BytesPerSecond'
diff --git a/AutoRest/Generators/NodeJS/Azure.NodeJS.Tests/Expected/AcceptanceTests/StorageManagementClient/models/usageListResult.js b/AutoRest/Generators/NodeJS/Azure.NodeJS.Tests/Expected/AcceptanceTests/StorageManagementClient/models/usageListResult.js
index dbc1c1d6b9..4b963c8596 100644
--- a/AutoRest/Generators/NodeJS/Azure.NodeJS.Tests/Expected/AcceptanceTests/StorageManagementClient/models/usageListResult.js
+++ b/AutoRest/Generators/NodeJS/Azure.NodeJS.Tests/Expected/AcceptanceTests/StorageManagementClient/models/usageListResult.js
@@ -19,6 +19,7 @@ var util = require('util');
* Initializes a new instance of the UsageListResult class.
* @constructor
* The List Usages operation response.
+ *
* @member {array} [value] Gets or sets the list Storage Resource Usages.
*
*/
diff --git a/AutoRest/Generators/NodeJS/Azure.NodeJS.Tests/Expected/AcceptanceTests/StorageManagementClient/models/usageName.js b/AutoRest/Generators/NodeJS/Azure.NodeJS.Tests/Expected/AcceptanceTests/StorageManagementClient/models/usageName.js
index a8dee8f0dd..940b0dfb91 100644
--- a/AutoRest/Generators/NodeJS/Azure.NodeJS.Tests/Expected/AcceptanceTests/StorageManagementClient/models/usageName.js
+++ b/AutoRest/Generators/NodeJS/Azure.NodeJS.Tests/Expected/AcceptanceTests/StorageManagementClient/models/usageName.js
@@ -15,6 +15,7 @@
* Initializes a new instance of the UsageName class.
* @constructor
* The Usage Names.
+ *
* @member {string} [value] Gets a string describing the resource name.
*
* @member {string} [localizedValue] Gets a localized string describing the
diff --git a/AutoRest/Generators/NodeJS/NodeJS.Tests/Expected/AcceptanceTests/ComplexModelClient/models/index.d.ts b/AutoRest/Generators/NodeJS/NodeJS.Tests/Expected/AcceptanceTests/ComplexModelClient/models/index.d.ts
index 31312d93a7..85c60cef83 100644
--- a/AutoRest/Generators/NodeJS/NodeJS.Tests/Expected/AcceptanceTests/ComplexModelClient/models/index.d.ts
+++ b/AutoRest/Generators/NodeJS/NodeJS.Tests/Expected/AcceptanceTests/ComplexModelClient/models/index.d.ts
@@ -14,6 +14,7 @@
* Initializes a new instance of the Product class.
* @constructor
* The product documentation.
+ *
* @member {string} [productId] Unique identifier representing a specific
* product for a given latitude & longitude. For example, uberX in San
* Francisco will have a different product_id than uberX in Los Angeles.
@@ -23,6 +24,7 @@
* @member {string} [displayName] Display name of product.
*
* @member {string} [capacity] Capacity of product. For example, 4 people.
+ * Default value: '100' .
*
* @member {string} [image] Image URL representing the product.
*
diff --git a/AutoRest/Generators/NodeJS/NodeJS.Tests/Expected/AcceptanceTests/ComplexModelClient/models/product.js b/AutoRest/Generators/NodeJS/NodeJS.Tests/Expected/AcceptanceTests/ComplexModelClient/models/product.js
index 5fdaec7dea..f6631895cd 100644
--- a/AutoRest/Generators/NodeJS/NodeJS.Tests/Expected/AcceptanceTests/ComplexModelClient/models/product.js
+++ b/AutoRest/Generators/NodeJS/NodeJS.Tests/Expected/AcceptanceTests/ComplexModelClient/models/product.js
@@ -15,6 +15,7 @@
* Initializes a new instance of the Product class.
* @constructor
* The product documentation.
+ *
* @member {string} [productId] Unique identifier representing a specific
* product for a given latitude & longitude. For example, uberX in San
* Francisco will have a different product_id than uberX in Los Angeles.
diff --git a/AutoRest/Generators/NodeJS/NodeJS.Tests/Expected/AcceptanceTests/ModelFlattening/models/baseProduct.js b/AutoRest/Generators/NodeJS/NodeJS.Tests/Expected/AcceptanceTests/ModelFlattening/models/baseProduct.js
index 5395428334..d2412d470d 100644
--- a/AutoRest/Generators/NodeJS/NodeJS.Tests/Expected/AcceptanceTests/ModelFlattening/models/baseProduct.js
+++ b/AutoRest/Generators/NodeJS/NodeJS.Tests/Expected/AcceptanceTests/ModelFlattening/models/baseProduct.js
@@ -15,6 +15,7 @@
* Initializes a new instance of the BaseProduct class.
* @constructor
* The product documentation.
+ *
* @member {string} productId Unique identifier representing a specific
* product for a given latitude & longitude. For example, uberX in San
* Francisco will have a different product_id than uberX in Los Angeles.
diff --git a/AutoRest/Generators/NodeJS/NodeJS.Tests/Expected/AcceptanceTests/ModelFlattening/models/flattenParameterGroup.js b/AutoRest/Generators/NodeJS/NodeJS.Tests/Expected/AcceptanceTests/ModelFlattening/models/flattenParameterGroup.js
index d548e2c6af..8337af4cc3 100644
--- a/AutoRest/Generators/NodeJS/NodeJS.Tests/Expected/AcceptanceTests/ModelFlattening/models/flattenParameterGroup.js
+++ b/AutoRest/Generators/NodeJS/NodeJS.Tests/Expected/AcceptanceTests/ModelFlattening/models/flattenParameterGroup.js
@@ -15,6 +15,7 @@
* Initializes a new instance of the FlattenParameterGroup class.
* @constructor
* Additional parameters for the putSimpleProductWithGrouping operation.
+ *
* @member {string} name Product name with value 'groupproduct'
*
* @member {string} productId Unique identifier representing a specific
diff --git a/AutoRest/Generators/NodeJS/NodeJS.Tests/Expected/AcceptanceTests/ModelFlattening/models/genericUrl.js b/AutoRest/Generators/NodeJS/NodeJS.Tests/Expected/AcceptanceTests/ModelFlattening/models/genericUrl.js
index cd657aa822..28432b6acf 100644
--- a/AutoRest/Generators/NodeJS/NodeJS.Tests/Expected/AcceptanceTests/ModelFlattening/models/genericUrl.js
+++ b/AutoRest/Generators/NodeJS/NodeJS.Tests/Expected/AcceptanceTests/ModelFlattening/models/genericUrl.js
@@ -15,6 +15,7 @@
* Initializes a new instance of the GenericUrl class.
* @constructor
* The Generic URL.
+ *
* @member {string} [genericValue] Generic URL value.
*
*/
diff --git a/AutoRest/Generators/NodeJS/NodeJS.Tests/Expected/AcceptanceTests/ModelFlattening/models/index.d.ts b/AutoRest/Generators/NodeJS/NodeJS.Tests/Expected/AcceptanceTests/ModelFlattening/models/index.d.ts
index a105800dea..1d1d8baa61 100644
--- a/AutoRest/Generators/NodeJS/NodeJS.Tests/Expected/AcceptanceTests/ModelFlattening/models/index.d.ts
+++ b/AutoRest/Generators/NodeJS/NodeJS.Tests/Expected/AcceptanceTests/ModelFlattening/models/index.d.ts
@@ -103,6 +103,7 @@ export interface ResourceCollection {
* Initializes a new instance of the BaseProduct class.
* @constructor
* The product documentation.
+ *
* @member {string} productId Unique identifier representing a specific
* product for a given latitude & longitude. For example, uberX in San
* Francisco will have a different product_id than uberX in Los Angeles.
@@ -120,6 +121,7 @@ export interface BaseProduct {
* Initializes a new instance of the SimpleProduct class.
* @constructor
* The product documentation.
+ *
* @member {string} maxProductDisplayName Display name of product.
*
* @member {string} [genericValue] Generic URL value.
@@ -138,6 +140,7 @@ export interface SimpleProduct extends BaseProduct {
* Initializes a new instance of the FlattenParameterGroup class.
* @constructor
* Additional parameters for the putSimpleProductWithGrouping operation.
+ *
* @member {string} name Product name with value 'groupproduct'
*
* @member {string} productId Unique identifier representing a specific
@@ -167,6 +170,7 @@ export interface FlattenParameterGroup {
* Initializes a new instance of the GenericUrl class.
* @constructor
* The Generic URL.
+ *
* @member {string} [genericValue] Generic URL value.
*
*/
diff --git a/AutoRest/Generators/NodeJS/NodeJS.Tests/Expected/AcceptanceTests/ModelFlattening/models/simpleProduct.js b/AutoRest/Generators/NodeJS/NodeJS.Tests/Expected/AcceptanceTests/ModelFlattening/models/simpleProduct.js
index cca28edbd8..c7812627f8 100644
--- a/AutoRest/Generators/NodeJS/NodeJS.Tests/Expected/AcceptanceTests/ModelFlattening/models/simpleProduct.js
+++ b/AutoRest/Generators/NodeJS/NodeJS.Tests/Expected/AcceptanceTests/ModelFlattening/models/simpleProduct.js
@@ -19,6 +19,7 @@ var util = require('util');
* Initializes a new instance of the SimpleProduct class.
* @constructor
* The product documentation.
+ *
* @member {string} maxProductDisplayName Display name of product.
*
* @member {string} [genericValue] Generic URL value.
diff --git a/AutoRest/Generators/NodeJS/NodeJS.Tests/Expected/AcceptanceTests/Validation/models/childProduct.js b/AutoRest/Generators/NodeJS/NodeJS.Tests/Expected/AcceptanceTests/Validation/models/childProduct.js
index 14cb8cf926..7d2570448c 100644
--- a/AutoRest/Generators/NodeJS/NodeJS.Tests/Expected/AcceptanceTests/Validation/models/childProduct.js
+++ b/AutoRest/Generators/NodeJS/NodeJS.Tests/Expected/AcceptanceTests/Validation/models/childProduct.js
@@ -15,6 +15,7 @@
* Initializes a new instance of the ChildProduct class.
* @constructor
* The product documentation.
+ *
* @member {number} [count] Count
*
*/
diff --git a/AutoRest/Generators/NodeJS/NodeJS.Tests/Expected/AcceptanceTests/Validation/models/constantProduct.js b/AutoRest/Generators/NodeJS/NodeJS.Tests/Expected/AcceptanceTests/Validation/models/constantProduct.js
index cd97a2c928..3ef6a2dab7 100644
--- a/AutoRest/Generators/NodeJS/NodeJS.Tests/Expected/AcceptanceTests/Validation/models/constantProduct.js
+++ b/AutoRest/Generators/NodeJS/NodeJS.Tests/Expected/AcceptanceTests/Validation/models/constantProduct.js
@@ -15,6 +15,7 @@
* Initializes a new instance of the ConstantProduct class.
* @constructor
* The product documentation.
+ *
*/
function ConstantProduct() {
}
diff --git a/AutoRest/Generators/NodeJS/NodeJS.Tests/Expected/AcceptanceTests/Validation/models/index.d.ts b/AutoRest/Generators/NodeJS/NodeJS.Tests/Expected/AcceptanceTests/Validation/models/index.d.ts
index fcd9be8d5d..a493e924d4 100644
--- a/AutoRest/Generators/NodeJS/NodeJS.Tests/Expected/AcceptanceTests/Validation/models/index.d.ts
+++ b/AutoRest/Generators/NodeJS/NodeJS.Tests/Expected/AcceptanceTests/Validation/models/index.d.ts
@@ -14,6 +14,7 @@
* Initializes a new instance of the Product class.
* @constructor
* The product documentation.
+ *
* @member {array} [displayNames] Non required array of unique items from 0 to
* 6 elements.
*
@@ -42,6 +43,7 @@ export interface Product {
* Initializes a new instance of the ChildProduct class.
* @constructor
* The product documentation.
+ *
* @member {number} [count] Count
*
*/
@@ -54,6 +56,7 @@ export interface ChildProduct {
* Initializes a new instance of the ConstantProduct class.
* @constructor
* The product documentation.
+ *
*/
export interface ConstantProduct {
}
diff --git a/AutoRest/Generators/NodeJS/NodeJS.Tests/Expected/AcceptanceTests/Validation/models/product.js b/AutoRest/Generators/NodeJS/NodeJS.Tests/Expected/AcceptanceTests/Validation/models/product.js
index ee09ede6f6..0a217cd963 100644
--- a/AutoRest/Generators/NodeJS/NodeJS.Tests/Expected/AcceptanceTests/Validation/models/product.js
+++ b/AutoRest/Generators/NodeJS/NodeJS.Tests/Expected/AcceptanceTests/Validation/models/product.js
@@ -19,6 +19,7 @@ var util = require('util');
* Initializes a new instance of the Product class.
* @constructor
* The product documentation.
+ *
* @member {array} [displayNames] Non required array of unique items from 0 to
* 6 elements.
*
diff --git a/AutoRest/Generators/Python/Azure.Python.Tests/Expected/AcceptanceTests/AzureBodyDuration/autorestdurationtestservice/models/error.py b/AutoRest/Generators/Python/Azure.Python.Tests/Expected/AcceptanceTests/AzureBodyDuration/autorestdurationtestservice/models/error.py
index c2d19e377e..eb6c5cdea9 100644
--- a/AutoRest/Generators/Python/Azure.Python.Tests/Expected/AcceptanceTests/AzureBodyDuration/autorestdurationtestservice/models/error.py
+++ b/AutoRest/Generators/Python/Azure.Python.Tests/Expected/AcceptanceTests/AzureBodyDuration/autorestdurationtestservice/models/error.py
@@ -14,7 +14,7 @@
class Error(Model):
- """Error
+ """Error.
:param status:
:type status: int
diff --git a/AutoRest/Generators/Python/Azure.Python.Tests/Expected/AcceptanceTests/AzureBodyDuration/autorestdurationtestservice/operations/duration_operations.py b/AutoRest/Generators/Python/Azure.Python.Tests/Expected/AcceptanceTests/AzureBodyDuration/autorestdurationtestservice/operations/duration_operations.py
index db838547b4..3e75f3a39e 100644
--- a/AutoRest/Generators/Python/Azure.Python.Tests/Expected/AcceptanceTests/AzureBodyDuration/autorestdurationtestservice/operations/duration_operations.py
+++ b/AutoRest/Generators/Python/Azure.Python.Tests/Expected/AcceptanceTests/AzureBodyDuration/autorestdurationtestservice/operations/duration_operations.py
@@ -34,8 +34,7 @@ def __init__(self, client, config, serializer, deserializer):
def get_null(
self, custom_headers=None, raw=False, **operation_config):
- """
- Get null duration value
+ """Get null duration value.
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside the
@@ -82,8 +81,7 @@ def get_null(
def put_positive_duration(
self, duration_body, custom_headers=None, raw=False, **operation_config):
- """
- Put a positive duration value
+ """Put a positive duration value.
:param duration_body:
:type duration_body: timedelta
@@ -129,8 +127,7 @@ def put_positive_duration(
def get_positive_duration(
self, custom_headers=None, raw=False, **operation_config):
- """
- Get a positive duration value
+ """Get a positive duration value.
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside the
@@ -177,8 +174,7 @@ def get_positive_duration(
def get_invalid(
self, custom_headers=None, raw=False, **operation_config):
- """
- Get an invalid duration value
+ """Get an invalid duration value.
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside the
diff --git a/AutoRest/Generators/Python/Azure.Python.Tests/Expected/AcceptanceTests/AzureBodyDuration/setup.py b/AutoRest/Generators/Python/Azure.Python.Tests/Expected/AcceptanceTests/AzureBodyDuration/setup.py
index 97aa1ecfa3..16515125fa 100644
--- a/AutoRest/Generators/Python/Azure.Python.Tests/Expected/AcceptanceTests/AzureBodyDuration/setup.py
+++ b/AutoRest/Generators/Python/Azure.Python.Tests/Expected/AcceptanceTests/AzureBodyDuration/setup.py
@@ -22,7 +22,7 @@
# prerequisite: setuptools
# http://pypi.python.org/pypi/setuptools
-REQUIRES = ["msrest>=0.3.0", "msrestazure>=0.3.0"]
+REQUIRES = ["msrest>=0.4.0", "msrestazure>=0.4.0"]
setup(
name=NAME,
diff --git a/AutoRest/Generators/Python/Azure.Python.Tests/Expected/AcceptanceTests/AzureParameterGrouping/autorestparametergroupingtestservice/models/error.py b/AutoRest/Generators/Python/Azure.Python.Tests/Expected/AcceptanceTests/AzureParameterGrouping/autorestparametergroupingtestservice/models/error.py
index c2d19e377e..eb6c5cdea9 100644
--- a/AutoRest/Generators/Python/Azure.Python.Tests/Expected/AcceptanceTests/AzureParameterGrouping/autorestparametergroupingtestservice/models/error.py
+++ b/AutoRest/Generators/Python/Azure.Python.Tests/Expected/AcceptanceTests/AzureParameterGrouping/autorestparametergroupingtestservice/models/error.py
@@ -14,7 +14,7 @@
class Error(Model):
- """Error
+ """Error.
:param status:
:type status: int
diff --git a/AutoRest/Generators/Python/Azure.Python.Tests/Expected/AcceptanceTests/AzureParameterGrouping/autorestparametergroupingtestservice/models/first_parameter_group.py b/AutoRest/Generators/Python/Azure.Python.Tests/Expected/AcceptanceTests/AzureParameterGrouping/autorestparametergroupingtestservice/models/first_parameter_group.py
index 172a4349ff..799b9ecdce 100644
--- a/AutoRest/Generators/Python/Azure.Python.Tests/Expected/AcceptanceTests/AzureParameterGrouping/autorestparametergroupingtestservice/models/first_parameter_group.py
+++ b/AutoRest/Generators/Python/Azure.Python.Tests/Expected/AcceptanceTests/AzureParameterGrouping/autorestparametergroupingtestservice/models/first_parameter_group.py
@@ -13,8 +13,7 @@
class FirstParameterGroup(Model):
- """
- Additional parameters for a set of operations, such as:
+ """Additional parameters for a set of operations, such as:
parameterGrouping_postMultiParamGroups,
parameterGrouping_postSharedParameterGroupObject.
diff --git a/AutoRest/Generators/Python/Azure.Python.Tests/Expected/AcceptanceTests/AzureParameterGrouping/autorestparametergroupingtestservice/models/parameter_grouping_post_multi_param_groups_second_param_group.py b/AutoRest/Generators/Python/Azure.Python.Tests/Expected/AcceptanceTests/AzureParameterGrouping/autorestparametergroupingtestservice/models/parameter_grouping_post_multi_param_groups_second_param_group.py
index bccdfab254..b8312450cb 100644
--- a/AutoRest/Generators/Python/Azure.Python.Tests/Expected/AcceptanceTests/AzureParameterGrouping/autorestparametergroupingtestservice/models/parameter_grouping_post_multi_param_groups_second_param_group.py
+++ b/AutoRest/Generators/Python/Azure.Python.Tests/Expected/AcceptanceTests/AzureParameterGrouping/autorestparametergroupingtestservice/models/parameter_grouping_post_multi_param_groups_second_param_group.py
@@ -13,8 +13,7 @@
class ParameterGroupingPostMultiParamGroupsSecondParamGroup(Model):
- """
- Additional parameters for the parameterGrouping_postMultiParamGroups
+ """Additional parameters for the parameterGrouping_postMultiParamGroups
operation.
:param header_two:
diff --git a/AutoRest/Generators/Python/Azure.Python.Tests/Expected/AcceptanceTests/AzureParameterGrouping/autorestparametergroupingtestservice/models/parameter_grouping_post_optional_parameters.py b/AutoRest/Generators/Python/Azure.Python.Tests/Expected/AcceptanceTests/AzureParameterGrouping/autorestparametergroupingtestservice/models/parameter_grouping_post_optional_parameters.py
index a62313adf9..03c95dfc96 100644
--- a/AutoRest/Generators/Python/Azure.Python.Tests/Expected/AcceptanceTests/AzureParameterGrouping/autorestparametergroupingtestservice/models/parameter_grouping_post_optional_parameters.py
+++ b/AutoRest/Generators/Python/Azure.Python.Tests/Expected/AcceptanceTests/AzureParameterGrouping/autorestparametergroupingtestservice/models/parameter_grouping_post_optional_parameters.py
@@ -13,8 +13,7 @@
class ParameterGroupingPostOptionalParameters(Model):
- """
- Additional parameters for the parameterGrouping_postOptional operation.
+ """Additional parameters for the parameterGrouping_postOptional operation.
:param custom_header:
:type custom_header: str
diff --git a/AutoRest/Generators/Python/Azure.Python.Tests/Expected/AcceptanceTests/AzureParameterGrouping/autorestparametergroupingtestservice/models/parameter_grouping_post_required_parameters.py b/AutoRest/Generators/Python/Azure.Python.Tests/Expected/AcceptanceTests/AzureParameterGrouping/autorestparametergroupingtestservice/models/parameter_grouping_post_required_parameters.py
index 409f4ffcdc..4ec89c377f 100644
--- a/AutoRest/Generators/Python/Azure.Python.Tests/Expected/AcceptanceTests/AzureParameterGrouping/autorestparametergroupingtestservice/models/parameter_grouping_post_required_parameters.py
+++ b/AutoRest/Generators/Python/Azure.Python.Tests/Expected/AcceptanceTests/AzureParameterGrouping/autorestparametergroupingtestservice/models/parameter_grouping_post_required_parameters.py
@@ -13,8 +13,7 @@
class ParameterGroupingPostRequiredParameters(Model):
- """
- Additional parameters for the parameterGrouping_postRequired operation.
+ """Additional parameters for the parameterGrouping_postRequired operation.
:param body:
:type body: int
diff --git a/AutoRest/Generators/Python/Azure.Python.Tests/Expected/AcceptanceTests/AzureParameterGrouping/autorestparametergroupingtestservice/operations/parameter_grouping_operations.py b/AutoRest/Generators/Python/Azure.Python.Tests/Expected/AcceptanceTests/AzureParameterGrouping/autorestparametergroupingtestservice/operations/parameter_grouping_operations.py
index 27541e740e..0ce7d88d8e 100644
--- a/AutoRest/Generators/Python/Azure.Python.Tests/Expected/AcceptanceTests/AzureParameterGrouping/autorestparametergroupingtestservice/operations/parameter_grouping_operations.py
+++ b/AutoRest/Generators/Python/Azure.Python.Tests/Expected/AcceptanceTests/AzureParameterGrouping/autorestparametergroupingtestservice/operations/parameter_grouping_operations.py
@@ -34,8 +34,7 @@ def __init__(self, client, config, serializer, deserializer):
def post_required(
self, parameter_grouping_post_required_parameters, custom_headers=None, raw=False, **operation_config):
- """
- Post a bunch of required parameters grouped
+ """Post a bunch of required parameters grouped.
:param parameter_grouping_post_required_parameters: Additional
parameters for the operation
@@ -105,8 +104,7 @@ def post_required(
def post_optional(
self, parameter_grouping_post_optional_parameters=None, custom_headers=None, raw=False, **operation_config):
- """
- Post a bunch of optional parameters grouped
+ """Post a bunch of optional parameters grouped.
:param parameter_grouping_post_optional_parameters: Additional
parameters for the operation
@@ -162,8 +160,7 @@ def post_optional(
def post_multi_param_groups(
self, first_parameter_group=None, parameter_grouping_post_multi_param_groups_second_param_group=None, custom_headers=None, raw=False, **operation_config):
- """
- Post parameters from multiple different parameter groups
+ """Post parameters from multiple different parameter groups.
:param first_parameter_group: Additional parameters for the operation
:type first_parameter_group: :class:`FirstParameterGroup
@@ -232,8 +229,7 @@ def post_multi_param_groups(
def post_shared_parameter_group_object(
self, first_parameter_group=None, custom_headers=None, raw=False, **operation_config):
- """
- Post parameters with a shared parameter group object
+ """Post parameters with a shared parameter group object.
:param first_parameter_group: Additional parameters for the operation
:type first_parameter_group: :class:`FirstParameterGroup
diff --git a/AutoRest/Generators/Python/Azure.Python.Tests/Expected/AcceptanceTests/AzureParameterGrouping/setup.py b/AutoRest/Generators/Python/Azure.Python.Tests/Expected/AcceptanceTests/AzureParameterGrouping/setup.py
index 4e3dc67a4f..c307c1e77a 100644
--- a/AutoRest/Generators/Python/Azure.Python.Tests/Expected/AcceptanceTests/AzureParameterGrouping/setup.py
+++ b/AutoRest/Generators/Python/Azure.Python.Tests/Expected/AcceptanceTests/AzureParameterGrouping/setup.py
@@ -22,7 +22,7 @@
# prerequisite: setuptools
# http://pypi.python.org/pypi/setuptools
-REQUIRES = ["msrest>=0.3.0", "msrestazure>=0.3.0"]
+REQUIRES = ["msrest>=0.4.0", "msrestazure>=0.4.0"]
setup(
name=NAME,
diff --git a/AutoRest/Generators/Python/Azure.Python.Tests/Expected/AcceptanceTests/AzureReport/autorestreportserviceforazure/auto_rest_report_service_for_azure.py b/AutoRest/Generators/Python/Azure.Python.Tests/Expected/AcceptanceTests/AzureReport/autorestreportserviceforazure/auto_rest_report_service_for_azure.py
index 202ecaa8ad..1d546fa1e3 100644
--- a/AutoRest/Generators/Python/Azure.Python.Tests/Expected/AcceptanceTests/AzureReport/autorestreportserviceforazure/auto_rest_report_service_for_azure.py
+++ b/AutoRest/Generators/Python/Azure.Python.Tests/Expected/AcceptanceTests/AzureReport/autorestreportserviceforazure/auto_rest_report_service_for_azure.py
@@ -97,8 +97,7 @@ def __init__(
def get_report(
self, custom_headers=None, raw=False, **operation_config):
- """
- Get test coverage report
+ """Get test coverage report.
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside the
diff --git a/AutoRest/Generators/Python/Azure.Python.Tests/Expected/AcceptanceTests/AzureReport/autorestreportserviceforazure/models/error.py b/AutoRest/Generators/Python/Azure.Python.Tests/Expected/AcceptanceTests/AzureReport/autorestreportserviceforazure/models/error.py
index c2d19e377e..eb6c5cdea9 100644
--- a/AutoRest/Generators/Python/Azure.Python.Tests/Expected/AcceptanceTests/AzureReport/autorestreportserviceforazure/models/error.py
+++ b/AutoRest/Generators/Python/Azure.Python.Tests/Expected/AcceptanceTests/AzureReport/autorestreportserviceforazure/models/error.py
@@ -14,7 +14,7 @@
class Error(Model):
- """Error
+ """Error.
:param status:
:type status: int
diff --git a/AutoRest/Generators/Python/Azure.Python.Tests/Expected/AcceptanceTests/AzureReport/setup.py b/AutoRest/Generators/Python/Azure.Python.Tests/Expected/AcceptanceTests/AzureReport/setup.py
index fee4d2a41a..d8c4a98051 100644
--- a/AutoRest/Generators/Python/Azure.Python.Tests/Expected/AcceptanceTests/AzureReport/setup.py
+++ b/AutoRest/Generators/Python/Azure.Python.Tests/Expected/AcceptanceTests/AzureReport/setup.py
@@ -22,7 +22,7 @@
# prerequisite: setuptools
# http://pypi.python.org/pypi/setuptools
-REQUIRES = ["msrest>=0.3.0", "msrestazure>=0.3.0"]
+REQUIRES = ["msrest>=0.4.0", "msrestazure>=0.4.0"]
setup(
name=NAME,
diff --git a/AutoRest/Generators/Python/Azure.Python.Tests/Expected/AcceptanceTests/AzureResource/autorestresourceflatteningtestservice/auto_rest_resource_flattening_test_service.py b/AutoRest/Generators/Python/Azure.Python.Tests/Expected/AcceptanceTests/AzureResource/autorestresourceflatteningtestservice/auto_rest_resource_flattening_test_service.py
index 4efa7f43c5..21f43e7a68 100644
--- a/AutoRest/Generators/Python/Azure.Python.Tests/Expected/AcceptanceTests/AzureResource/autorestresourceflatteningtestservice/auto_rest_resource_flattening_test_service.py
+++ b/AutoRest/Generators/Python/Azure.Python.Tests/Expected/AcceptanceTests/AzureResource/autorestresourceflatteningtestservice/auto_rest_resource_flattening_test_service.py
@@ -97,8 +97,7 @@ def __init__(
def put_array(
self, resource_array=None, custom_headers=None, raw=False, **operation_config):
- """
- Put External Resource as an Array
+ """Put External Resource as an Array.
:param resource_array: External Resource as an Array to put
:type resource_array: list of :class:`Resource
@@ -148,8 +147,7 @@ def put_array(
def get_array(
self, custom_headers=None, raw=False, **operation_config):
- """
- Get External Resource as an Array
+ """Get External Resource as an Array.
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside the
@@ -197,8 +195,7 @@ def get_array(
def put_dictionary(
self, resource_dictionary=None, custom_headers=None, raw=False, **operation_config):
- """
- Put External Resource as a Dictionary
+ """Put External Resource as a Dictionary.
:param resource_dictionary: External Resource as a Dictionary to put
:type resource_dictionary: dict
@@ -247,8 +244,7 @@ def put_dictionary(
def get_dictionary(
self, custom_headers=None, raw=False, **operation_config):
- """
- Get External Resource as a Dictionary
+ """Get External Resource as a Dictionary.
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside the
@@ -295,8 +291,7 @@ def get_dictionary(
def put_resource_collection(
self, resource_complex_object=None, custom_headers=None, raw=False, **operation_config):
- """
- Put External Resource as a ResourceCollection
+ """Put External Resource as a ResourceCollection.
:param resource_complex_object: External Resource as a
ResourceCollection to put
@@ -347,8 +342,7 @@ def put_resource_collection(
def get_resource_collection(
self, custom_headers=None, raw=False, **operation_config):
- """
- Get External Resource as a ResourceCollection
+ """Get External Resource as a ResourceCollection.
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside the
diff --git a/AutoRest/Generators/Python/Azure.Python.Tests/Expected/AcceptanceTests/AzureResource/autorestresourceflatteningtestservice/models/error.py b/AutoRest/Generators/Python/Azure.Python.Tests/Expected/AcceptanceTests/AzureResource/autorestresourceflatteningtestservice/models/error.py
index c2d19e377e..eb6c5cdea9 100644
--- a/AutoRest/Generators/Python/Azure.Python.Tests/Expected/AcceptanceTests/AzureResource/autorestresourceflatteningtestservice/models/error.py
+++ b/AutoRest/Generators/Python/Azure.Python.Tests/Expected/AcceptanceTests/AzureResource/autorestresourceflatteningtestservice/models/error.py
@@ -14,7 +14,7 @@
class Error(Model):
- """Error
+ """Error.
:param status:
:type status: int
diff --git a/AutoRest/Generators/Python/Azure.Python.Tests/Expected/AcceptanceTests/AzureResource/autorestresourceflatteningtestservice/models/flattened_product.py b/AutoRest/Generators/Python/Azure.Python.Tests/Expected/AcceptanceTests/AzureResource/autorestresourceflatteningtestservice/models/flattened_product.py
index 37bf31568e..62f67890ec 100644
--- a/AutoRest/Generators/Python/Azure.Python.Tests/Expected/AcceptanceTests/AzureResource/autorestresourceflatteningtestservice/models/flattened_product.py
+++ b/AutoRest/Generators/Python/Azure.Python.Tests/Expected/AcceptanceTests/AzureResource/autorestresourceflatteningtestservice/models/flattened_product.py
@@ -13,7 +13,7 @@
class FlattenedProduct(Resource):
- """FlattenedProduct
+ """FlattenedProduct.
Variables are only populated by the server, and will be ignored when
sending a request.
diff --git a/AutoRest/Generators/Python/Azure.Python.Tests/Expected/AcceptanceTests/AzureResource/autorestresourceflatteningtestservice/models/resource.py b/AutoRest/Generators/Python/Azure.Python.Tests/Expected/AcceptanceTests/AzureResource/autorestresourceflatteningtestservice/models/resource.py
index 349e6b7fbd..37e59f9d34 100644
--- a/AutoRest/Generators/Python/Azure.Python.Tests/Expected/AcceptanceTests/AzureResource/autorestresourceflatteningtestservice/models/resource.py
+++ b/AutoRest/Generators/Python/Azure.Python.Tests/Expected/AcceptanceTests/AzureResource/autorestresourceflatteningtestservice/models/resource.py
@@ -13,7 +13,7 @@
class Resource(Model):
- """Resource
+ """Resource.
Variables are only populated by the server, and will be ignored when
sending a request.
diff --git a/AutoRest/Generators/Python/Azure.Python.Tests/Expected/AcceptanceTests/AzureResource/autorestresourceflatteningtestservice/models/resource_collection.py b/AutoRest/Generators/Python/Azure.Python.Tests/Expected/AcceptanceTests/AzureResource/autorestresourceflatteningtestservice/models/resource_collection.py
index 4c59a75395..f6068e9b20 100644
--- a/AutoRest/Generators/Python/Azure.Python.Tests/Expected/AcceptanceTests/AzureResource/autorestresourceflatteningtestservice/models/resource_collection.py
+++ b/AutoRest/Generators/Python/Azure.Python.Tests/Expected/AcceptanceTests/AzureResource/autorestresourceflatteningtestservice/models/resource_collection.py
@@ -13,7 +13,7 @@
class ResourceCollection(Model):
- """ResourceCollection
+ """ResourceCollection.
:param productresource:
:type productresource: :class:`FlattenedProduct
diff --git a/AutoRest/Generators/Python/Azure.Python.Tests/Expected/AcceptanceTests/AzureResource/setup.py b/AutoRest/Generators/Python/Azure.Python.Tests/Expected/AcceptanceTests/AzureResource/setup.py
index 095659cbb3..e06838f4ce 100644
--- a/AutoRest/Generators/Python/Azure.Python.Tests/Expected/AcceptanceTests/AzureResource/setup.py
+++ b/AutoRest/Generators/Python/Azure.Python.Tests/Expected/AcceptanceTests/AzureResource/setup.py
@@ -22,7 +22,7 @@
# prerequisite: setuptools
# http://pypi.python.org/pypi/setuptools
-REQUIRES = ["msrest>=0.3.0", "msrestazure>=0.3.0"]
+REQUIRES = ["msrest>=0.4.0", "msrestazure>=0.4.0"]
setup(
name=NAME,
diff --git a/AutoRest/Generators/Python/Azure.Python.Tests/Expected/AcceptanceTests/AzureSpecials/autorestazurespecialparameterstestclient/models/error.py b/AutoRest/Generators/Python/Azure.Python.Tests/Expected/AcceptanceTests/AzureSpecials/autorestazurespecialparameterstestclient/models/error.py
index e9ef780e3a..a9d7202b77 100644
--- a/AutoRest/Generators/Python/Azure.Python.Tests/Expected/AcceptanceTests/AzureSpecials/autorestazurespecialparameterstestclient/models/error.py
+++ b/AutoRest/Generators/Python/Azure.Python.Tests/Expected/AcceptanceTests/AzureSpecials/autorestazurespecialparameterstestclient/models/error.py
@@ -14,7 +14,7 @@
class Error(Model):
- """Error
+ """Error.
:param status:
:type status: int
diff --git a/AutoRest/Generators/Python/Azure.Python.Tests/Expected/AcceptanceTests/AzureSpecials/autorestazurespecialparameterstestclient/models/header_custom_named_request_id_param_grouping_parameters.py b/AutoRest/Generators/Python/Azure.Python.Tests/Expected/AcceptanceTests/AzureSpecials/autorestazurespecialparameterstestclient/models/header_custom_named_request_id_param_grouping_parameters.py
index 05a691ff6d..facbd47d85 100644
--- a/AutoRest/Generators/Python/Azure.Python.Tests/Expected/AcceptanceTests/AzureSpecials/autorestazurespecialparameterstestclient/models/header_custom_named_request_id_param_grouping_parameters.py
+++ b/AutoRest/Generators/Python/Azure.Python.Tests/Expected/AcceptanceTests/AzureSpecials/autorestazurespecialparameterstestclient/models/header_custom_named_request_id_param_grouping_parameters.py
@@ -13,8 +13,7 @@
class HeaderCustomNamedRequestIdParamGroupingParameters(Model):
- """
- Additional parameters for the header_customNamedRequestIdParamGrouping
+ """Additional parameters for the header_customNamedRequestIdParamGrouping
operation.
:param foo_client_request_id: The fooRequestId
diff --git a/AutoRest/Generators/Python/Azure.Python.Tests/Expected/AcceptanceTests/AzureSpecials/autorestazurespecialparameterstestclient/models/odata_filter.py b/AutoRest/Generators/Python/Azure.Python.Tests/Expected/AcceptanceTests/AzureSpecials/autorestazurespecialparameterstestclient/models/odata_filter.py
index 16c1f6545d..ac40e2ac87 100644
--- a/AutoRest/Generators/Python/Azure.Python.Tests/Expected/AcceptanceTests/AzureSpecials/autorestazurespecialparameterstestclient/models/odata_filter.py
+++ b/AutoRest/Generators/Python/Azure.Python.Tests/Expected/AcceptanceTests/AzureSpecials/autorestazurespecialparameterstestclient/models/odata_filter.py
@@ -13,7 +13,7 @@
class OdataFilter(Model):
- """OdataFilter
+ """OdataFilter.
:param id:
:type id: int
diff --git a/AutoRest/Generators/Python/Azure.Python.Tests/Expected/AcceptanceTests/AzureSpecials/autorestazurespecialparameterstestclient/operations/api_version_default_operations.py b/AutoRest/Generators/Python/Azure.Python.Tests/Expected/AcceptanceTests/AzureSpecials/autorestazurespecialparameterstestclient/operations/api_version_default_operations.py
index 874e55a3cf..87fe5f2dd2 100644
--- a/AutoRest/Generators/Python/Azure.Python.Tests/Expected/AcceptanceTests/AzureSpecials/autorestazurespecialparameterstestclient/operations/api_version_default_operations.py
+++ b/AutoRest/Generators/Python/Azure.Python.Tests/Expected/AcceptanceTests/AzureSpecials/autorestazurespecialparameterstestclient/operations/api_version_default_operations.py
@@ -34,8 +34,7 @@ def __init__(self, client, config, serializer, deserializer):
def get_method_global_valid(
self, custom_headers=None, raw=False, **operation_config):
- """
- GET method with api-version modeled in global settings.
+ """GET method with api-version modeled in global settings.
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside the
@@ -76,8 +75,7 @@ def get_method_global_valid(
def get_method_global_not_provided_valid(
self, custom_headers=None, raw=False, **operation_config):
- """
- GET method with api-version modeled in global settings.
+ """GET method with api-version modeled in global settings.
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside the
@@ -118,8 +116,7 @@ def get_method_global_not_provided_valid(
def get_path_global_valid(
self, custom_headers=None, raw=False, **operation_config):
- """
- GET method with api-version modeled in global settings.
+ """GET method with api-version modeled in global settings.
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside the
@@ -160,8 +157,7 @@ def get_path_global_valid(
def get_swagger_global_valid(
self, custom_headers=None, raw=False, **operation_config):
- """
- GET method with api-version modeled in global settings.
+ """GET method with api-version modeled in global settings.
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside the
diff --git a/AutoRest/Generators/Python/Azure.Python.Tests/Expected/AcceptanceTests/AzureSpecials/autorestazurespecialparameterstestclient/operations/api_version_local_operations.py b/AutoRest/Generators/Python/Azure.Python.Tests/Expected/AcceptanceTests/AzureSpecials/autorestazurespecialparameterstestclient/operations/api_version_local_operations.py
index e5b30970f1..a089d753b7 100644
--- a/AutoRest/Generators/Python/Azure.Python.Tests/Expected/AcceptanceTests/AzureSpecials/autorestazurespecialparameterstestclient/operations/api_version_local_operations.py
+++ b/AutoRest/Generators/Python/Azure.Python.Tests/Expected/AcceptanceTests/AzureSpecials/autorestazurespecialparameterstestclient/operations/api_version_local_operations.py
@@ -34,9 +34,8 @@ def __init__(self, client, config, serializer, deserializer):
def get_method_local_valid(
self, api_version="2.0", custom_headers=None, raw=False, **operation_config):
- """
- Get method with api-version modeled in the method. pass in
- api-version = '2.0' to succeed
+ """Get method with api-version modeled in the method. pass in
+ api-version = '2.0' to succeed.
:param api_version: This should appear as a method parameter, use
value '2.0'
@@ -80,9 +79,8 @@ def get_method_local_valid(
def get_method_local_null(
self, api_version=None, custom_headers=None, raw=False, **operation_config):
- """
- Get method with api-version modeled in the method. pass in
- api-version = null to succeed
+ """Get method with api-version modeled in the method. pass in
+ api-version = null to succeed.
:param api_version: This should appear as a method parameter, use
value null, this should result in no serialized parameter
@@ -127,9 +125,8 @@ def get_method_local_null(
def get_path_local_valid(
self, api_version="2.0", custom_headers=None, raw=False, **operation_config):
- """
- Get method with api-version modeled in the method. pass in
- api-version = '2.0' to succeed
+ """Get method with api-version modeled in the method. pass in
+ api-version = '2.0' to succeed.
:param api_version: This should appear as a method parameter, use
value '2.0'
@@ -173,9 +170,8 @@ def get_path_local_valid(
def get_swagger_local_valid(
self, api_version="2.0", custom_headers=None, raw=False, **operation_config):
- """
- Get method with api-version modeled in the method. pass in
- api-version = '2.0' to succeed
+ """Get method with api-version modeled in the method. pass in
+ api-version = '2.0' to succeed.
:param api_version: The api version, which appears in the query, the
value is always '2.0'
diff --git a/AutoRest/Generators/Python/Azure.Python.Tests/Expected/AcceptanceTests/AzureSpecials/autorestazurespecialparameterstestclient/operations/header_operations.py b/AutoRest/Generators/Python/Azure.Python.Tests/Expected/AcceptanceTests/AzureSpecials/autorestazurespecialparameterstestclient/operations/header_operations.py
index 0ff192a54c..127e2e92c6 100644
--- a/AutoRest/Generators/Python/Azure.Python.Tests/Expected/AcceptanceTests/AzureSpecials/autorestazurespecialparameterstestclient/operations/header_operations.py
+++ b/AutoRest/Generators/Python/Azure.Python.Tests/Expected/AcceptanceTests/AzureSpecials/autorestazurespecialparameterstestclient/operations/header_operations.py
@@ -34,9 +34,8 @@ def __init__(self, client, config, serializer, deserializer):
def custom_named_request_id(
self, foo_client_request_id, custom_headers=None, raw=False, **operation_config):
- """
- Send foo-client-request-id = 9C4D50EE-2D56-4CD3-8152-34347DC9F2B0 in
- the header of the request
+ """Send foo-client-request-id = 9C4D50EE-2D56-4CD3-8152-34347DC9F2B0 in
+ the header of the request.
:param foo_client_request_id: The fooRequestId
:type foo_client_request_id: str
@@ -82,9 +81,8 @@ def custom_named_request_id(
def custom_named_request_id_param_grouping(
self, header_custom_named_request_id_param_grouping_parameters, custom_headers=None, raw=False, **operation_config):
- """
- Send foo-client-request-id = 9C4D50EE-2D56-4CD3-8152-34347DC9F2B0 in
- the header of the request, via a parameter group
+ """Send foo-client-request-id = 9C4D50EE-2D56-4CD3-8152-34347DC9F2B0 in
+ the header of the request, via a parameter group.
:param header_custom_named_request_id_param_grouping_parameters:
Additional parameters for the operation
diff --git a/AutoRest/Generators/Python/Azure.Python.Tests/Expected/AcceptanceTests/AzureSpecials/autorestazurespecialparameterstestclient/operations/odata_operations.py b/AutoRest/Generators/Python/Azure.Python.Tests/Expected/AcceptanceTests/AzureSpecials/autorestazurespecialparameterstestclient/operations/odata_operations.py
index efff53fb99..e27fbb7274 100644
--- a/AutoRest/Generators/Python/Azure.Python.Tests/Expected/AcceptanceTests/AzureSpecials/autorestazurespecialparameterstestclient/operations/odata_operations.py
+++ b/AutoRest/Generators/Python/Azure.Python.Tests/Expected/AcceptanceTests/AzureSpecials/autorestazurespecialparameterstestclient/operations/odata_operations.py
@@ -34,9 +34,8 @@ def __init__(self, client, config, serializer, deserializer):
def get_with_filter(
self, filter=None, top=None, orderby=None, custom_headers=None, raw=False, **operation_config):
- """
- Specify filter parameter with value '$filter=id gt 5 and name eq
- 'foo'&$orderby=id&$top=10'
+ """Specify filter parameter with value '$filter=id gt 5 and name eq
+ 'foo'&$orderby=id&$top=10'.
:param filter: The filter parameter with value '$filter=id gt 5 and
name eq 'foo''.
diff --git a/AutoRest/Generators/Python/Azure.Python.Tests/Expected/AcceptanceTests/AzureSpecials/autorestazurespecialparameterstestclient/operations/skip_url_encoding_operations.py b/AutoRest/Generators/Python/Azure.Python.Tests/Expected/AcceptanceTests/AzureSpecials/autorestazurespecialparameterstestclient/operations/skip_url_encoding_operations.py
index b657cd53af..4bd4a66bd4 100644
--- a/AutoRest/Generators/Python/Azure.Python.Tests/Expected/AcceptanceTests/AzureSpecials/autorestazurespecialparameterstestclient/operations/skip_url_encoding_operations.py
+++ b/AutoRest/Generators/Python/Azure.Python.Tests/Expected/AcceptanceTests/AzureSpecials/autorestazurespecialparameterstestclient/operations/skip_url_encoding_operations.py
@@ -34,8 +34,8 @@ def __init__(self, client, config, serializer, deserializer):
def get_method_path_valid(
self, unencoded_path_param, custom_headers=None, raw=False, **operation_config):
- """
- Get method with unencoded path parameter with value 'path1/path2/path3'
+ """Get method with unencoded path parameter with value
+ 'path1/path2/path3'.
:param unencoded_path_param: Unencoded path parameter with value
'path1/path2/path3'
@@ -82,8 +82,8 @@ def get_method_path_valid(
def get_path_path_valid(
self, unencoded_path_param, custom_headers=None, raw=False, **operation_config):
- """
- Get method with unencoded path parameter with value 'path1/path2/path3'
+ """Get method with unencoded path parameter with value
+ 'path1/path2/path3'.
:param unencoded_path_param: Unencoded path parameter with value
'path1/path2/path3'
@@ -130,8 +130,8 @@ def get_path_path_valid(
def get_swagger_path_valid(
self, unencoded_path_param="path1/path2/path3", custom_headers=None, raw=False, **operation_config):
- """
- Get method with unencoded path parameter with value 'path1/path2/path3'
+ """Get method with unencoded path parameter with value
+ 'path1/path2/path3'.
:param unencoded_path_param: An unencoded path parameter with value
'path1/path2/path3'
@@ -178,9 +178,8 @@ def get_swagger_path_valid(
def get_method_query_valid(
self, q1, custom_headers=None, raw=False, **operation_config):
- """
- Get method with unencoded query parameter with value
- 'value1&q2=value2&q3=value3'
+ """Get method with unencoded query parameter with value
+ 'value1&q2=value2&q3=value3'.
:param q1: Unencoded query parameter with value
'value1&q2=value2&q3=value3'
@@ -224,8 +223,7 @@ def get_method_query_valid(
def get_method_query_null(
self, q1=None, custom_headers=None, raw=False, **operation_config):
- """
- Get method with unencoded query parameter with value null
+ """Get method with unencoded query parameter with value null.
:param q1: Unencoded query parameter with value null
:type q1: str
@@ -269,9 +267,8 @@ def get_method_query_null(
def get_path_query_valid(
self, q1, custom_headers=None, raw=False, **operation_config):
- """
- Get method with unencoded query parameter with value
- 'value1&q2=value2&q3=value3'
+ """Get method with unencoded query parameter with value
+ 'value1&q2=value2&q3=value3'.
:param q1: Unencoded query parameter with value
'value1&q2=value2&q3=value3'
@@ -315,9 +312,8 @@ def get_path_query_valid(
def get_swagger_query_valid(
self, q1="value1&q2=value2&q3=value3", custom_headers=None, raw=False, **operation_config):
- """
- Get method with unencoded query parameter with value
- 'value1&q2=value2&q3=value3'
+ """Get method with unencoded query parameter with value
+ 'value1&q2=value2&q3=value3'.
:param q1: An unencoded query parameter with value
'value1&q2=value2&q3=value3'
diff --git a/AutoRest/Generators/Python/Azure.Python.Tests/Expected/AcceptanceTests/AzureSpecials/autorestazurespecialparameterstestclient/operations/subscription_in_credentials_operations.py b/AutoRest/Generators/Python/Azure.Python.Tests/Expected/AcceptanceTests/AzureSpecials/autorestazurespecialparameterstestclient/operations/subscription_in_credentials_operations.py
index b14e40ea25..9ac7c46df0 100644
--- a/AutoRest/Generators/Python/Azure.Python.Tests/Expected/AcceptanceTests/AzureSpecials/autorestazurespecialparameterstestclient/operations/subscription_in_credentials_operations.py
+++ b/AutoRest/Generators/Python/Azure.Python.Tests/Expected/AcceptanceTests/AzureSpecials/autorestazurespecialparameterstestclient/operations/subscription_in_credentials_operations.py
@@ -34,9 +34,8 @@ def __init__(self, client, config, serializer, deserializer):
def post_method_global_valid(
self, custom_headers=None, raw=False, **operation_config):
- """
- POST method with subscriptionId modeled in credentials. Set the
- credential subscriptionId to '1234-5678-9012-3456' to succeed
+ """POST method with subscriptionId modeled in credentials. Set the
+ credential subscriptionId to '1234-5678-9012-3456' to succeed.
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside the
@@ -80,10 +79,9 @@ def post_method_global_valid(
def post_method_global_null(
self, custom_headers=None, raw=False, **operation_config):
- """
- POST method with subscriptionId modeled in credentials. Set the
+ """POST method with subscriptionId modeled in credentials. Set the
credential subscriptionId to null, and client-side validation should
- prevent you from making this call
+ prevent you from making this call.
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside the
@@ -127,9 +125,8 @@ def post_method_global_null(
def post_method_global_not_provided_valid(
self, custom_headers=None, raw=False, **operation_config):
- """
- POST method with subscriptionId modeled in credentials. Set the
- credential subscriptionId to '1234-5678-9012-3456' to succeed
+ """POST method with subscriptionId modeled in credentials. Set the
+ credential subscriptionId to '1234-5678-9012-3456' to succeed.
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside the
@@ -174,9 +171,8 @@ def post_method_global_not_provided_valid(
def post_path_global_valid(
self, custom_headers=None, raw=False, **operation_config):
- """
- POST method with subscriptionId modeled in credentials. Set the
- credential subscriptionId to '1234-5678-9012-3456' to succeed
+ """POST method with subscriptionId modeled in credentials. Set the
+ credential subscriptionId to '1234-5678-9012-3456' to succeed.
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside the
@@ -220,9 +216,8 @@ def post_path_global_valid(
def post_swagger_global_valid(
self, custom_headers=None, raw=False, **operation_config):
- """
- POST method with subscriptionId modeled in credentials. Set the
- credential subscriptionId to '1234-5678-9012-3456' to succeed
+ """POST method with subscriptionId modeled in credentials. Set the
+ credential subscriptionId to '1234-5678-9012-3456' to succeed.
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside the
diff --git a/AutoRest/Generators/Python/Azure.Python.Tests/Expected/AcceptanceTests/AzureSpecials/autorestazurespecialparameterstestclient/operations/subscription_in_method_operations.py b/AutoRest/Generators/Python/Azure.Python.Tests/Expected/AcceptanceTests/AzureSpecials/autorestazurespecialparameterstestclient/operations/subscription_in_method_operations.py
index 9386906cae..5ec8a8204e 100644
--- a/AutoRest/Generators/Python/Azure.Python.Tests/Expected/AcceptanceTests/AzureSpecials/autorestazurespecialparameterstestclient/operations/subscription_in_method_operations.py
+++ b/AutoRest/Generators/Python/Azure.Python.Tests/Expected/AcceptanceTests/AzureSpecials/autorestazurespecialparameterstestclient/operations/subscription_in_method_operations.py
@@ -34,9 +34,8 @@ def __init__(self, client, config, serializer, deserializer):
def post_method_local_valid(
self, subscription_id, custom_headers=None, raw=False, **operation_config):
- """
- POST method with subscriptionId modeled in the method. pass in
- subscription id = '1234-5678-9012-3456' to succeed
+ """POST method with subscriptionId modeled in the method. pass in
+ subscription id = '1234-5678-9012-3456' to succeed.
:param subscription_id: This should appear as a method parameter, use
value '1234-5678-9012-3456'
@@ -83,10 +82,9 @@ def post_method_local_valid(
def post_method_local_null(
self, subscription_id, custom_headers=None, raw=False, **operation_config):
- """
- POST method with subscriptionId modeled in the method. pass in
+ """POST method with subscriptionId modeled in the method. pass in
subscription id = null, client-side validation should prevent you
- from making this call
+ from making this call.
:param subscription_id: This should appear as a method parameter, use
value null, client-side validation should prvenet the call
@@ -133,9 +131,8 @@ def post_method_local_null(
def post_path_local_valid(
self, subscription_id, custom_headers=None, raw=False, **operation_config):
- """
- POST method with subscriptionId modeled in the method. pass in
- subscription id = '1234-5678-9012-3456' to succeed
+ """POST method with subscriptionId modeled in the method. pass in
+ subscription id = '1234-5678-9012-3456' to succeed.
:param subscription_id: Should appear as a method parameter -use
value '1234-5678-9012-3456'
@@ -182,9 +179,8 @@ def post_path_local_valid(
def post_swagger_local_valid(
self, subscription_id, custom_headers=None, raw=False, **operation_config):
- """
- POST method with subscriptionId modeled in the method. pass in
- subscription id = '1234-5678-9012-3456' to succeed
+ """POST method with subscriptionId modeled in the method. pass in
+ subscription id = '1234-5678-9012-3456' to succeed.
:param subscription_id: The subscriptionId, which appears in the
path, the value is always '1234-5678-9012-3456'
diff --git a/AutoRest/Generators/Python/Azure.Python.Tests/Expected/AcceptanceTests/AzureSpecials/autorestazurespecialparameterstestclient/operations/xms_client_request_id_operations.py b/AutoRest/Generators/Python/Azure.Python.Tests/Expected/AcceptanceTests/AzureSpecials/autorestazurespecialparameterstestclient/operations/xms_client_request_id_operations.py
index d68315d835..a3a1baafad 100644
--- a/AutoRest/Generators/Python/Azure.Python.Tests/Expected/AcceptanceTests/AzureSpecials/autorestazurespecialparameterstestclient/operations/xms_client_request_id_operations.py
+++ b/AutoRest/Generators/Python/Azure.Python.Tests/Expected/AcceptanceTests/AzureSpecials/autorestazurespecialparameterstestclient/operations/xms_client_request_id_operations.py
@@ -35,8 +35,7 @@ def __init__(self, client, config, serializer, deserializer):
def get(
self, custom_headers=None, raw=False, **operation_config):
- """
- Get method that overwrites x-ms-client-request header with value
+ """Get method that overwrites x-ms-client-request header with value
9C4D50EE-2D56-4CD3-8152-34347DC9F2B0.
:param dict custom_headers: headers that will be added to the request
@@ -79,8 +78,7 @@ def get(
def param_get(
self, x_ms_client_request_id, custom_headers=None, raw=False, **operation_config):
- """
- Get method that overwrites x-ms-client-request header with value
+ """Get method that overwrites x-ms-client-request header with value
9C4D50EE-2D56-4CD3-8152-34347DC9F2B0.
:param x_ms_client_request_id: This should appear as a method
diff --git a/AutoRest/Generators/Python/Azure.Python.Tests/Expected/AcceptanceTests/AzureSpecials/setup.py b/AutoRest/Generators/Python/Azure.Python.Tests/Expected/AcceptanceTests/AzureSpecials/setup.py
index cd93aa2dd6..0265eef74b 100644
--- a/AutoRest/Generators/Python/Azure.Python.Tests/Expected/AcceptanceTests/AzureSpecials/setup.py
+++ b/AutoRest/Generators/Python/Azure.Python.Tests/Expected/AcceptanceTests/AzureSpecials/setup.py
@@ -22,7 +22,7 @@
# prerequisite: setuptools
# http://pypi.python.org/pypi/setuptools
-REQUIRES = ["msrest>=0.3.0", "msrestazure>=0.3.0"]
+REQUIRES = ["msrest>=0.4.0", "msrestazure>=0.4.0"]
setup(
name=NAME,
diff --git a/AutoRest/Generators/Python/Azure.Python.Tests/Expected/AcceptanceTests/CustomBaseUri/autorestparameterizedhosttestclient/models/error.py b/AutoRest/Generators/Python/Azure.Python.Tests/Expected/AcceptanceTests/CustomBaseUri/autorestparameterizedhosttestclient/models/error.py
index c2d19e377e..eb6c5cdea9 100644
--- a/AutoRest/Generators/Python/Azure.Python.Tests/Expected/AcceptanceTests/CustomBaseUri/autorestparameterizedhosttestclient/models/error.py
+++ b/AutoRest/Generators/Python/Azure.Python.Tests/Expected/AcceptanceTests/CustomBaseUri/autorestparameterizedhosttestclient/models/error.py
@@ -14,7 +14,7 @@
class Error(Model):
- """Error
+ """Error.
:param status:
:type status: int
diff --git a/AutoRest/Generators/Python/Azure.Python.Tests/Expected/AcceptanceTests/CustomBaseUri/autorestparameterizedhosttestclient/operations/paths_operations.py b/AutoRest/Generators/Python/Azure.Python.Tests/Expected/AcceptanceTests/CustomBaseUri/autorestparameterizedhosttestclient/operations/paths_operations.py
index 3e293149bc..ee224d276a 100644
--- a/AutoRest/Generators/Python/Azure.Python.Tests/Expected/AcceptanceTests/CustomBaseUri/autorestparameterizedhosttestclient/operations/paths_operations.py
+++ b/AutoRest/Generators/Python/Azure.Python.Tests/Expected/AcceptanceTests/CustomBaseUri/autorestparameterizedhosttestclient/operations/paths_operations.py
@@ -34,8 +34,7 @@ def __init__(self, client, config, serializer, deserializer):
def get_empty(
self, account_name, custom_headers=None, raw=False, **operation_config):
- """
- Get a 200 to test a valid base uri
+ """Get a 200 to test a valid base uri.
:param account_name: Account Name
:type account_name: str
diff --git a/AutoRest/Generators/Python/Azure.Python.Tests/Expected/AcceptanceTests/CustomBaseUri/setup.py b/AutoRest/Generators/Python/Azure.Python.Tests/Expected/AcceptanceTests/CustomBaseUri/setup.py
index b60d7cd0eb..f82dd8c0f7 100644
--- a/AutoRest/Generators/Python/Azure.Python.Tests/Expected/AcceptanceTests/CustomBaseUri/setup.py
+++ b/AutoRest/Generators/Python/Azure.Python.Tests/Expected/AcceptanceTests/CustomBaseUri/setup.py
@@ -22,7 +22,7 @@
# prerequisite: setuptools
# http://pypi.python.org/pypi/setuptools
-REQUIRES = ["msrest>=0.3.0", "msrestazure>=0.3.0"]
+REQUIRES = ["msrest>=0.4.0", "msrestazure>=0.4.0"]
setup(
name=NAME,
diff --git a/AutoRest/Generators/Python/Azure.Python.Tests/Expected/AcceptanceTests/Head/autorestheadtestservice/operations/http_success_operations.py b/AutoRest/Generators/Python/Azure.Python.Tests/Expected/AcceptanceTests/Head/autorestheadtestservice/operations/http_success_operations.py
index 8f14a81b39..eb2381723c 100644
--- a/AutoRest/Generators/Python/Azure.Python.Tests/Expected/AcceptanceTests/Head/autorestheadtestservice/operations/http_success_operations.py
+++ b/AutoRest/Generators/Python/Azure.Python.Tests/Expected/AcceptanceTests/Head/autorestheadtestservice/operations/http_success_operations.py
@@ -33,8 +33,7 @@ def __init__(self, client, config, serializer, deserializer):
def head200(
self, custom_headers=None, raw=False, **operation_config):
- """
- Return 200 status code if successful
+ """Return 200 status code if successful.
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside the
@@ -78,8 +77,7 @@ def head200(
def head204(
self, custom_headers=None, raw=False, **operation_config):
- """
- Return 204 status code if successful
+ """Return 204 status code if successful.
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside the
@@ -123,8 +121,7 @@ def head204(
def head404(
self, custom_headers=None, raw=False, **operation_config):
- """
- Return 404 status code if successful
+ """Return 404 status code if successful.
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside the
diff --git a/AutoRest/Generators/Python/Azure.Python.Tests/Expected/AcceptanceTests/Head/setup.py b/AutoRest/Generators/Python/Azure.Python.Tests/Expected/AcceptanceTests/Head/setup.py
index 083369e096..b649cbc67b 100644
--- a/AutoRest/Generators/Python/Azure.Python.Tests/Expected/AcceptanceTests/Head/setup.py
+++ b/AutoRest/Generators/Python/Azure.Python.Tests/Expected/AcceptanceTests/Head/setup.py
@@ -22,7 +22,7 @@
# prerequisite: setuptools
# http://pypi.python.org/pypi/setuptools
-REQUIRES = ["msrest>=0.3.0", "msrestazure>=0.3.0"]
+REQUIRES = ["msrest>=0.4.0", "msrestazure>=0.4.0"]
setup(
name=NAME,
diff --git a/AutoRest/Generators/Python/Azure.Python.Tests/Expected/AcceptanceTests/HeadExceptions/autorestheadexceptiontestservice/operations/head_exception_operations.py b/AutoRest/Generators/Python/Azure.Python.Tests/Expected/AcceptanceTests/HeadExceptions/autorestheadexceptiontestservice/operations/head_exception_operations.py
index 65669404b4..99f394a211 100644
--- a/AutoRest/Generators/Python/Azure.Python.Tests/Expected/AcceptanceTests/HeadExceptions/autorestheadexceptiontestservice/operations/head_exception_operations.py
+++ b/AutoRest/Generators/Python/Azure.Python.Tests/Expected/AcceptanceTests/HeadExceptions/autorestheadexceptiontestservice/operations/head_exception_operations.py
@@ -33,8 +33,7 @@ def __init__(self, client, config, serializer, deserializer):
def head200(
self, custom_headers=None, raw=False, **operation_config):
- """
- Return 200 status code if successful
+ """Return 200 status code if successful.
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside the
@@ -76,8 +75,7 @@ def head200(
def head204(
self, custom_headers=None, raw=False, **operation_config):
- """
- Return 204 status code if successful
+ """Return 204 status code if successful.
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside the
@@ -119,8 +117,7 @@ def head204(
def head404(
self, custom_headers=None, raw=False, **operation_config):
- """
- Return 404 status code if successful
+ """Return 404 status code if successful.
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside the
diff --git a/AutoRest/Generators/Python/Azure.Python.Tests/Expected/AcceptanceTests/HeadExceptions/setup.py b/AutoRest/Generators/Python/Azure.Python.Tests/Expected/AcceptanceTests/HeadExceptions/setup.py
index d66fa596b1..3afd098a07 100644
--- a/AutoRest/Generators/Python/Azure.Python.Tests/Expected/AcceptanceTests/HeadExceptions/setup.py
+++ b/AutoRest/Generators/Python/Azure.Python.Tests/Expected/AcceptanceTests/HeadExceptions/setup.py
@@ -22,7 +22,7 @@
# prerequisite: setuptools
# http://pypi.python.org/pypi/setuptools
-REQUIRES = ["msrest>=0.3.0", "msrestazure>=0.3.0"]
+REQUIRES = ["msrest>=0.4.0", "msrestazure>=0.4.0"]
setup(
name=NAME,
diff --git a/AutoRest/Generators/Python/Azure.Python.Tests/Expected/AcceptanceTests/Lro/autorestlongrunningoperationtestservice/models/operation_result.py b/AutoRest/Generators/Python/Azure.Python.Tests/Expected/AcceptanceTests/Lro/autorestlongrunningoperationtestservice/models/operation_result.py
index 2ded58b2f5..920e7bebf0 100644
--- a/AutoRest/Generators/Python/Azure.Python.Tests/Expected/AcceptanceTests/Lro/autorestlongrunningoperationtestservice/models/operation_result.py
+++ b/AutoRest/Generators/Python/Azure.Python.Tests/Expected/AcceptanceTests/Lro/autorestlongrunningoperationtestservice/models/operation_result.py
@@ -13,7 +13,7 @@
class OperationResult(Model):
- """OperationResult
+ """OperationResult.
:param status: The status of the request. Possible values include:
'Succeeded', 'Failed', 'canceled', 'Accepted', 'Creating', 'Created',
diff --git a/AutoRest/Generators/Python/Azure.Python.Tests/Expected/AcceptanceTests/Lro/autorestlongrunningoperationtestservice/models/operation_result_error.py b/AutoRest/Generators/Python/Azure.Python.Tests/Expected/AcceptanceTests/Lro/autorestlongrunningoperationtestservice/models/operation_result_error.py
index 22dab4495c..e7654f24f1 100644
--- a/AutoRest/Generators/Python/Azure.Python.Tests/Expected/AcceptanceTests/Lro/autorestlongrunningoperationtestservice/models/operation_result_error.py
+++ b/AutoRest/Generators/Python/Azure.Python.Tests/Expected/AcceptanceTests/Lro/autorestlongrunningoperationtestservice/models/operation_result_error.py
@@ -13,7 +13,7 @@
class OperationResultError(Model):
- """OperationResultError
+ """OperationResultError.
:param code: The error code for an operation failure
:type code: int
diff --git a/AutoRest/Generators/Python/Azure.Python.Tests/Expected/AcceptanceTests/Lro/autorestlongrunningoperationtestservice/models/product.py b/AutoRest/Generators/Python/Azure.Python.Tests/Expected/AcceptanceTests/Lro/autorestlongrunningoperationtestservice/models/product.py
index 1671df6f6c..725b9b0872 100644
--- a/AutoRest/Generators/Python/Azure.Python.Tests/Expected/AcceptanceTests/Lro/autorestlongrunningoperationtestservice/models/product.py
+++ b/AutoRest/Generators/Python/Azure.Python.Tests/Expected/AcceptanceTests/Lro/autorestlongrunningoperationtestservice/models/product.py
@@ -13,7 +13,7 @@
class Product(Resource):
- """Product
+ """Product.
Variables are only populated by the server, and will be ignored when
sending a request.
diff --git a/AutoRest/Generators/Python/Azure.Python.Tests/Expected/AcceptanceTests/Lro/autorestlongrunningoperationtestservice/models/resource.py b/AutoRest/Generators/Python/Azure.Python.Tests/Expected/AcceptanceTests/Lro/autorestlongrunningoperationtestservice/models/resource.py
index 349e6b7fbd..37e59f9d34 100644
--- a/AutoRest/Generators/Python/Azure.Python.Tests/Expected/AcceptanceTests/Lro/autorestlongrunningoperationtestservice/models/resource.py
+++ b/AutoRest/Generators/Python/Azure.Python.Tests/Expected/AcceptanceTests/Lro/autorestlongrunningoperationtestservice/models/resource.py
@@ -13,7 +13,7 @@
class Resource(Model):
- """Resource
+ """Resource.
Variables are only populated by the server, and will be ignored when
sending a request.
diff --git a/AutoRest/Generators/Python/Azure.Python.Tests/Expected/AcceptanceTests/Lro/autorestlongrunningoperationtestservice/models/sku.py b/AutoRest/Generators/Python/Azure.Python.Tests/Expected/AcceptanceTests/Lro/autorestlongrunningoperationtestservice/models/sku.py
index d7f35d777f..ece3d8b80f 100644
--- a/AutoRest/Generators/Python/Azure.Python.Tests/Expected/AcceptanceTests/Lro/autorestlongrunningoperationtestservice/models/sku.py
+++ b/AutoRest/Generators/Python/Azure.Python.Tests/Expected/AcceptanceTests/Lro/autorestlongrunningoperationtestservice/models/sku.py
@@ -13,7 +13,7 @@
class Sku(Model):
- """Sku
+ """Sku.
:param name:
:type name: str
diff --git a/AutoRest/Generators/Python/Azure.Python.Tests/Expected/AcceptanceTests/Lro/autorestlongrunningoperationtestservice/models/sub_product.py b/AutoRest/Generators/Python/Azure.Python.Tests/Expected/AcceptanceTests/Lro/autorestlongrunningoperationtestservice/models/sub_product.py
index c813566223..006545090d 100644
--- a/AutoRest/Generators/Python/Azure.Python.Tests/Expected/AcceptanceTests/Lro/autorestlongrunningoperationtestservice/models/sub_product.py
+++ b/AutoRest/Generators/Python/Azure.Python.Tests/Expected/AcceptanceTests/Lro/autorestlongrunningoperationtestservice/models/sub_product.py
@@ -13,7 +13,7 @@
class SubProduct(SubResource):
- """SubProduct
+ """SubProduct.
Variables are only populated by the server, and will be ignored when
sending a request.
diff --git a/AutoRest/Generators/Python/Azure.Python.Tests/Expected/AcceptanceTests/Lro/autorestlongrunningoperationtestservice/models/sub_resource.py b/AutoRest/Generators/Python/Azure.Python.Tests/Expected/AcceptanceTests/Lro/autorestlongrunningoperationtestservice/models/sub_resource.py
index 77ec6cf29f..826b93ebfe 100644
--- a/AutoRest/Generators/Python/Azure.Python.Tests/Expected/AcceptanceTests/Lro/autorestlongrunningoperationtestservice/models/sub_resource.py
+++ b/AutoRest/Generators/Python/Azure.Python.Tests/Expected/AcceptanceTests/Lro/autorestlongrunningoperationtestservice/models/sub_resource.py
@@ -13,7 +13,7 @@
class SubResource(Model):
- """SubResource
+ """SubResource.
Variables are only populated by the server, and will be ignored when
sending a request.
diff --git a/AutoRest/Generators/Python/Azure.Python.Tests/Expected/AcceptanceTests/Lro/autorestlongrunningoperationtestservice/operations/lr_os_custom_header_operations.py b/AutoRest/Generators/Python/Azure.Python.Tests/Expected/AcceptanceTests/Lro/autorestlongrunningoperationtestservice/operations/lr_os_custom_header_operations.py
index 105c79d96f..f1b840eb4e 100644
--- a/AutoRest/Generators/Python/Azure.Python.Tests/Expected/AcceptanceTests/Lro/autorestlongrunningoperationtestservice/operations/lr_os_custom_header_operations.py
+++ b/AutoRest/Generators/Python/Azure.Python.Tests/Expected/AcceptanceTests/Lro/autorestlongrunningoperationtestservice/operations/lr_os_custom_header_operations.py
@@ -36,12 +36,11 @@ def __init__(self, client, config, serializer, deserializer):
def put_async_retry_succeeded(
self, product=None, custom_headers=None, raw=False, **operation_config):
- """
- x-ms-client-request-id = 9C4D50EE-2D56-4CD3-8152-34347DC9F2B0 is
+ """x-ms-client-request-id = 9C4D50EE-2D56-4CD3-8152-34347DC9F2B0 is
required message header for all requests. Long running put request,
service returns a 200 to the initial request, with an entity that
contains ProvisioningState=’Creating’. Poll the endpoint indicated in
- the Azure-AsyncOperation header for operation status
+ the Azure-AsyncOperation header for operation status.
:param product: Product to put
:type product: :class:`Product
@@ -131,12 +130,11 @@ def get_long_running_output(response):
def put201_creating_succeeded200(
self, product=None, custom_headers=None, raw=False, **operation_config):
- """
- x-ms-client-request-id = 9C4D50EE-2D56-4CD3-8152-34347DC9F2B0 is
+ """x-ms-client-request-id = 9C4D50EE-2D56-4CD3-8152-34347DC9F2B0 is
required message header for all requests. Long running put request,
service returns a 201 to the initial request, with an entity that
contains ProvisioningState=’Creating’. Polls return this value until
- the last poll returns a ‘200’ with ProvisioningState=’Succeeded’
+ the last poll returns a ‘200’ with ProvisioningState=’Succeeded’.
:param product: Product to put
:type product: :class:`Product
@@ -221,12 +219,11 @@ def get_long_running_output(response):
def post202_retry200(
self, product=None, custom_headers=None, raw=False, **operation_config):
- """
- x-ms-client-request-id = 9C4D50EE-2D56-4CD3-8152-34347DC9F2B0 is
+ """x-ms-client-request-id = 9C4D50EE-2D56-4CD3-8152-34347DC9F2B0 is
required message header for all requests. Long running post request,
service returns a 202 to the initial request, with 'Location' and
'Retry-After' headers, Polls return a 200 with a response body after
- success
+ success.
:param product: Product to put
:type product: :class:`Product
@@ -305,12 +302,11 @@ def get_long_running_output(response):
def post_async_retry_succeeded(
self, product=None, custom_headers=None, raw=False, **operation_config):
- """
- x-ms-client-request-id = 9C4D50EE-2D56-4CD3-8152-34347DC9F2B0 is
+ """x-ms-client-request-id = 9C4D50EE-2D56-4CD3-8152-34347DC9F2B0 is
required message header for all requests. Long running post request,
service returns a 202 to the initial request, with an entity that
contains ProvisioningState=’Creating’. Poll the endpoint indicated in
- the Azure-AsyncOperation header for operation status
+ the Azure-AsyncOperation header for operation status.
:param product: Product to put
:type product: :class:`Product
diff --git a/AutoRest/Generators/Python/Azure.Python.Tests/Expected/AcceptanceTests/Lro/autorestlongrunningoperationtestservice/operations/lr_os_operations.py b/AutoRest/Generators/Python/Azure.Python.Tests/Expected/AcceptanceTests/Lro/autorestlongrunningoperationtestservice/operations/lr_os_operations.py
index 00a39dccab..efca4fbdee 100644
--- a/AutoRest/Generators/Python/Azure.Python.Tests/Expected/AcceptanceTests/Lro/autorestlongrunningoperationtestservice/operations/lr_os_operations.py
+++ b/AutoRest/Generators/Python/Azure.Python.Tests/Expected/AcceptanceTests/Lro/autorestlongrunningoperationtestservice/operations/lr_os_operations.py
@@ -36,8 +36,7 @@ def __init__(self, client, config, serializer, deserializer):
def put200_succeeded(
self, product=None, custom_headers=None, raw=False, **operation_config):
- """
- Long running put request, service returns a 200 to the initial
+ """Long running put request, service returns a 200 to the initial
request, with an entity that contains ProvisioningState=’Succeeded’.
:param product: Product to put
@@ -121,8 +120,7 @@ def get_long_running_output(response):
def put200_succeeded_no_state(
self, product=None, custom_headers=None, raw=False, **operation_config):
- """
- Long running put request, service returns a 200 to the initial
+ """Long running put request, service returns a 200 to the initial
request, with an entity that does not contain
ProvisioningState=’Succeeded’.
@@ -207,10 +205,9 @@ def get_long_running_output(response):
def put202_retry200(
self, product=None, custom_headers=None, raw=False, **operation_config):
- """
- Long running put request, service returns a 202 to the initial
+ """Long running put request, service returns a 202 to the initial
request, with a location header that points to a polling URL that
- returns a 200 and an entity that doesn't contains ProvisioningState
+ returns a 200 and an entity that doesn't contains ProvisioningState.
:param product: Product to put
:type product: :class:`Product
@@ -293,11 +290,10 @@ def get_long_running_output(response):
def put201_creating_succeeded200(
self, product=None, custom_headers=None, raw=False, **operation_config):
- """
- Long running put request, service returns a 201 to the initial
+ """Long running put request, service returns a 201 to the initial
request, with an entity that contains ProvisioningState=’Creating’.
Polls return this value until the last poll returns a ‘200’ with
- ProvisioningState=’Succeeded’
+ ProvisioningState=’Succeeded’.
:param product: Product to put
:type product: :class:`Product
@@ -382,11 +378,10 @@ def get_long_running_output(response):
def put200_updating_succeeded204(
self, product=None, custom_headers=None, raw=False, **operation_config):
- """
- Long running put request, service returns a 201 to the initial
+ """Long running put request, service returns a 201 to the initial
request, with an entity that contains ProvisioningState=’Updating’.
Polls return this value until the last poll returns a ‘200’ with
- ProvisioningState=’Succeeded’
+ ProvisioningState=’Succeeded’.
:param product: Product to put
:type product: :class:`Product
@@ -469,11 +464,10 @@ def get_long_running_output(response):
def put201_creating_failed200(
self, product=None, custom_headers=None, raw=False, **operation_config):
- """
- Long running put request, service returns a 201 to the initial
+ """Long running put request, service returns a 201 to the initial
request, with an entity that contains ProvisioningState=’Created’.
Polls return this value until the last poll returns a ‘200’ with
- ProvisioningState=’Failed’
+ ProvisioningState=’Failed’.
:param product: Product to put
:type product: :class:`Product
@@ -558,11 +552,10 @@ def get_long_running_output(response):
def put200_acceptedcanceled200(
self, product=None, custom_headers=None, raw=False, **operation_config):
- """
- Long running put request, service returns a 201 to the initial
+ """Long running put request, service returns a 201 to the initial
request, with an entity that contains ProvisioningState=’Creating’.
Polls return this value until the last poll returns a ‘200’ with
- ProvisioningState=’Canceled’
+ ProvisioningState=’Canceled’.
:param product: Product to put
:type product: :class:`Product
@@ -645,8 +638,7 @@ def get_long_running_output(response):
def put_no_header_in_retry(
self, product=None, custom_headers=None, raw=False, **operation_config):
- """
- Long running put request, service returns a 202 to the initial request
+ """Long running put request, service returns a 202 to the initial request
with location header. Subsequent calls to operation status do not
contain location header.
@@ -736,11 +728,10 @@ def get_long_running_output(response):
def put_async_retry_succeeded(
self, product=None, custom_headers=None, raw=False, **operation_config):
- """
- Long running put request, service returns a 200 to the initial
+ """Long running put request, service returns a 200 to the initial
request, with an entity that contains ProvisioningState=’Creating’.
Poll the endpoint indicated in the Azure-AsyncOperation header for
- operation status
+ operation status.
:param product: Product to put
:type product: :class:`Product
@@ -830,11 +821,10 @@ def get_long_running_output(response):
def put_async_no_retry_succeeded(
self, product=None, custom_headers=None, raw=False, **operation_config):
- """
- Long running put request, service returns a 200 to the initial
+ """Long running put request, service returns a 200 to the initial
request, with an entity that contains ProvisioningState=’Creating’.
Poll the endpoint indicated in the Azure-AsyncOperation header for
- operation status
+ operation status.
:param product: Product to put
:type product: :class:`Product
@@ -923,11 +913,10 @@ def get_long_running_output(response):
def put_async_retry_failed(
self, product=None, custom_headers=None, raw=False, **operation_config):
- """
- Long running put request, service returns a 200 to the initial
+ """Long running put request, service returns a 200 to the initial
request, with an entity that contains ProvisioningState=’Creating’.
Poll the endpoint indicated in the Azure-AsyncOperation header for
- operation status
+ operation status.
:param product: Product to put
:type product: :class:`Product
@@ -1017,11 +1006,10 @@ def get_long_running_output(response):
def put_async_no_retrycanceled(
self, product=None, custom_headers=None, raw=False, **operation_config):
- """
- Long running put request, service returns a 200 to the initial
+ """Long running put request, service returns a 200 to the initial
request, with an entity that contains ProvisioningState=’Creating’.
Poll the endpoint indicated in the Azure-AsyncOperation header for
- operation status
+ operation status.
:param product: Product to put
:type product: :class:`Product
@@ -1110,8 +1098,7 @@ def get_long_running_output(response):
def put_async_no_header_in_retry(
self, product=None, custom_headers=None, raw=False, **operation_config):
- """
- Long running put request, service returns a 202 to the initial request
+ """Long running put request, service returns a 202 to the initial request
with Azure-AsyncOperation header. Subsequent calls to operation
status do not contain Azure-AsyncOperation header.
@@ -1201,8 +1188,7 @@ def get_long_running_output(response):
def put_non_resource(
self, sku=None, custom_headers=None, raw=False, **operation_config):
- """
- Long running put request with non resource.
+ """Long running put request with non resource.
:param sku: sku to put
:type sku: :class:`Sku `
@@ -1284,8 +1270,7 @@ def get_long_running_output(response):
def put_async_non_resource(
self, sku=None, custom_headers=None, raw=False, **operation_config):
- """
- Long running put request with non resource.
+ """Long running put request with non resource.
:param sku: Sku to put
:type sku: :class:`Sku `
@@ -1367,8 +1352,7 @@ def get_long_running_output(response):
def put_sub_resource(
self, product=None, custom_headers=None, raw=False, **operation_config):
- """
- Long running put request with sub resource.
+ """Long running put request with sub resource.
:param product: Sub Product to put
:type product: :class:`SubProduct
@@ -1451,8 +1435,7 @@ def get_long_running_output(response):
def put_async_sub_resource(
self, product=None, custom_headers=None, raw=False, **operation_config):
- """
- Long running put request with sub resource.
+ """Long running put request with sub resource.
:param product: Sub Product to put
:type product: :class:`SubProduct
@@ -1535,11 +1518,10 @@ def get_long_running_output(response):
def delete_provisioning202_accepted200_succeeded(
self, custom_headers=None, raw=False, **operation_config):
- """
- Long running delete request, service returns a 202 to the initial
+ """Long running delete request, service returns a 202 to the initial
request, with an entity that contains ProvisioningState=’Accepted’.
Polls return this value until the last poll returns a ‘200’ with
- ProvisioningState=’Succeeded’
+ ProvisioningState=’Succeeded’.
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside the
@@ -1624,11 +1606,10 @@ def get_long_running_output(response):
def delete_provisioning202_deleting_failed200(
self, custom_headers=None, raw=False, **operation_config):
- """
- Long running delete request, service returns a 202 to the initial
+ """Long running delete request, service returns a 202 to the initial
request, with an entity that contains ProvisioningState=’Creating’.
Polls return this value until the last poll returns a ‘200’ with
- ProvisioningState=’Failed’
+ ProvisioningState=’Failed’.
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside the
@@ -1713,11 +1694,10 @@ def get_long_running_output(response):
def delete_provisioning202_deletingcanceled200(
self, custom_headers=None, raw=False, **operation_config):
- """
- Long running delete request, service returns a 202 to the initial
+ """Long running delete request, service returns a 202 to the initial
request, with an entity that contains ProvisioningState=’Creating’.
Polls return this value until the last poll returns a ‘200’ with
- ProvisioningState=’Canceled’
+ ProvisioningState=’Canceled’.
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside the
@@ -1802,8 +1782,7 @@ def get_long_running_output(response):
def delete204_succeeded(
self, custom_headers=None, raw=False, **operation_config):
- """
- Long running delete succeeds and returns right away
+ """Long running delete succeeds and returns right away.
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside the
@@ -1868,10 +1847,9 @@ def get_long_running_output(response):
def delete202_retry200(
self, custom_headers=None, raw=False, **operation_config):
- """
- Long running delete request, service returns a 202 to the initial
+ """Long running delete request, service returns a 202 to the initial
request. Polls return this value until the last poll returns a ‘200’
- with ProvisioningState=’Succeeded’
+ with ProvisioningState=’Succeeded’.
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside the
@@ -1950,10 +1928,9 @@ def get_long_running_output(response):
def delete202_no_retry204(
self, custom_headers=None, raw=False, **operation_config):
- """
- Long running delete request, service returns a 202 to the initial
+ """Long running delete request, service returns a 202 to the initial
request. Polls return this value until the last poll returns a ‘200’
- with ProvisioningState=’Succeeded’
+ with ProvisioningState=’Succeeded’.
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside the
@@ -2032,8 +2009,7 @@ def get_long_running_output(response):
def delete_no_header_in_retry(
self, custom_headers=None, raw=False, **operation_config):
- """
- Long running delete request, service returns a location header in the
+ """Long running delete request, service returns a location header in the
initial request. Subsequent calls to operation status do not contain
location header.
@@ -2103,8 +2079,7 @@ def get_long_running_output(response):
def delete_async_no_header_in_retry(
self, custom_headers=None, raw=False, **operation_config):
- """
- Long running delete request, service returns an Azure-AsyncOperation
+ """Long running delete request, service returns an Azure-AsyncOperation
header in the initial request. Subsequent calls to operation status
do not contain Azure-AsyncOperation header.
@@ -2174,10 +2149,9 @@ def get_long_running_output(response):
def delete_async_retry_succeeded(
self, custom_headers=None, raw=False, **operation_config):
- """
- Long running delete request, service returns a 202 to the initial
+ """Long running delete request, service returns a 202 to the initial
request. Poll the endpoint indicated in the Azure-AsyncOperation
- header for operation status
+ header for operation status.
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside the
@@ -2247,10 +2221,9 @@ def get_long_running_output(response):
def delete_async_no_retry_succeeded(
self, custom_headers=None, raw=False, **operation_config):
- """
- Long running delete request, service returns a 202 to the initial
+ """Long running delete request, service returns a 202 to the initial
request. Poll the endpoint indicated in the Azure-AsyncOperation
- header for operation status
+ header for operation status.
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside the
@@ -2320,10 +2293,9 @@ def get_long_running_output(response):
def delete_async_retry_failed(
self, custom_headers=None, raw=False, **operation_config):
- """
- Long running delete request, service returns a 202 to the initial
+ """Long running delete request, service returns a 202 to the initial
request. Poll the endpoint indicated in the Azure-AsyncOperation
- header for operation status
+ header for operation status.
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside the
@@ -2393,10 +2365,9 @@ def get_long_running_output(response):
def delete_async_retrycanceled(
self, custom_headers=None, raw=False, **operation_config):
- """
- Long running delete request, service returns a 202 to the initial
+ """Long running delete request, service returns a 202 to the initial
request. Poll the endpoint indicated in the Azure-AsyncOperation
- header for operation status
+ header for operation status.
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside the
@@ -2466,8 +2437,7 @@ def get_long_running_output(response):
def post200_with_payload(
self, custom_headers=None, raw=False, **operation_config):
- """
- Long running post request, service returns a 202 to the initial
+ """Long running post request, service returns a 202 to the initial
request, with 'Location' header. Poll returns a 200 with a response
body after success.
@@ -2544,10 +2514,9 @@ def get_long_running_output(response):
def post202_retry200(
self, product=None, custom_headers=None, raw=False, **operation_config):
- """
- Long running post request, service returns a 202 to the initial
+ """Long running post request, service returns a 202 to the initial
request, with 'Location' and 'Retry-After' headers, Polls return a
- 200 with a response body after success
+ 200 with a response body after success.
:param product: Product to put
:type product: :class:`Product
@@ -2626,10 +2595,9 @@ def get_long_running_output(response):
def post202_no_retry204(
self, product=None, custom_headers=None, raw=False, **operation_config):
- """
- Long running post request, service returns a 202 to the initial
+ """Long running post request, service returns a 202 to the initial
request, with 'Location' header, 204 with noresponse body after
- success
+ success.
:param product: Product to put
:type product: :class:`Product
@@ -2718,11 +2686,10 @@ def get_long_running_output(response):
def post_async_retry_succeeded(
self, product=None, custom_headers=None, raw=False, **operation_config):
- """
- Long running post request, service returns a 202 to the initial
+ """Long running post request, service returns a 202 to the initial
request, with an entity that contains ProvisioningState=’Creating’.
Poll the endpoint indicated in the Azure-AsyncOperation header for
- operation status
+ operation status.
:param product: Product to put
:type product: :class:`Product
@@ -2812,11 +2779,10 @@ def get_long_running_output(response):
def post_async_no_retry_succeeded(
self, product=None, custom_headers=None, raw=False, **operation_config):
- """
- Long running post request, service returns a 202 to the initial
+ """Long running post request, service returns a 202 to the initial
request, with an entity that contains ProvisioningState=’Creating’.
Poll the endpoint indicated in the Azure-AsyncOperation header for
- operation status
+ operation status.
:param product: Product to put
:type product: :class:`Product
@@ -2906,11 +2872,10 @@ def get_long_running_output(response):
def post_async_retry_failed(
self, product=None, custom_headers=None, raw=False, **operation_config):
- """
- Long running post request, service returns a 202 to the initial
+ """Long running post request, service returns a 202 to the initial
request, with an entity that contains ProvisioningState=’Creating’.
Poll the endpoint indicated in the Azure-AsyncOperation header for
- operation status
+ operation status.
:param product: Product to put
:type product: :class:`Product
@@ -2990,11 +2955,10 @@ def get_long_running_output(response):
def post_async_retrycanceled(
self, product=None, custom_headers=None, raw=False, **operation_config):
- """
- Long running post request, service returns a 202 to the initial
+ """Long running post request, service returns a 202 to the initial
request, with an entity that contains ProvisioningState=’Creating’.
Poll the endpoint indicated in the Azure-AsyncOperation header for
- operation status
+ operation status.
:param product: Product to put
:type product: :class:`Product
diff --git a/AutoRest/Generators/Python/Azure.Python.Tests/Expected/AcceptanceTests/Lro/autorestlongrunningoperationtestservice/operations/lro_retrys_operations.py b/AutoRest/Generators/Python/Azure.Python.Tests/Expected/AcceptanceTests/Lro/autorestlongrunningoperationtestservice/operations/lro_retrys_operations.py
index 0730706150..b7dfa7b710 100644
--- a/AutoRest/Generators/Python/Azure.Python.Tests/Expected/AcceptanceTests/Lro/autorestlongrunningoperationtestservice/operations/lro_retrys_operations.py
+++ b/AutoRest/Generators/Python/Azure.Python.Tests/Expected/AcceptanceTests/Lro/autorestlongrunningoperationtestservice/operations/lro_retrys_operations.py
@@ -36,11 +36,10 @@ def __init__(self, client, config, serializer, deserializer):
def put201_creating_succeeded200(
self, product=None, custom_headers=None, raw=False, **operation_config):
- """
- Long running put request, service returns a 500, then a 201 to the
+ """Long running put request, service returns a 500, then a 201 to the
initial request, with an entity that contains
ProvisioningState=’Creating’. Polls return this value until the last
- poll returns a ‘200’ with ProvisioningState=’Succeeded’
+ poll returns a ‘200’ with ProvisioningState=’Succeeded’.
:param product: Product to put
:type product: :class:`Product
@@ -125,11 +124,10 @@ def get_long_running_output(response):
def put_async_relative_retry_succeeded(
self, product=None, custom_headers=None, raw=False, **operation_config):
- """
- Long running put request, service returns a 500, then a 200 to the
+ """Long running put request, service returns a 500, then a 200 to the
initial request, with an entity that contains
ProvisioningState=’Creating’. Poll the endpoint indicated in the
- Azure-AsyncOperation header for operation status
+ Azure-AsyncOperation header for operation status.
:param product: Product to put
:type product: :class:`Product
@@ -219,11 +217,10 @@ def get_long_running_output(response):
def delete_provisioning202_accepted200_succeeded(
self, custom_headers=None, raw=False, **operation_config):
- """
- Long running delete request, service returns a 500, then a 202 to the
+ """Long running delete request, service returns a 500, then a 202 to the
initial request, with an entity that contains
ProvisioningState=’Accepted’. Polls return this value until the last
- poll returns a ‘200’ with ProvisioningState=’Succeeded’
+ poll returns a ‘200’ with ProvisioningState=’Succeeded’.
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside the
@@ -308,10 +305,9 @@ def get_long_running_output(response):
def delete202_retry200(
self, custom_headers=None, raw=False, **operation_config):
- """
- Long running delete request, service returns a 500, then a 202 to the
+ """Long running delete request, service returns a 500, then a 202 to the
initial request. Polls return this value until the last poll returns
- a ‘200’ with ProvisioningState=’Succeeded’
+ a ‘200’ with ProvisioningState=’Succeeded’.
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside the
@@ -380,10 +376,9 @@ def get_long_running_output(response):
def delete_async_relative_retry_succeeded(
self, custom_headers=None, raw=False, **operation_config):
- """
- Long running delete request, service returns a 500, then a 202 to the
+ """Long running delete request, service returns a 500, then a 202 to the
initial request. Poll the endpoint indicated in the
- Azure-AsyncOperation header for operation status
+ Azure-AsyncOperation header for operation status.
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside the
@@ -453,10 +448,9 @@ def get_long_running_output(response):
def post202_retry200(
self, product=None, custom_headers=None, raw=False, **operation_config):
- """
- Long running post request, service returns a 500, then a 202 to the
+ """Long running post request, service returns a 500, then a 202 to the
initial request, with 'Location' and 'Retry-After' headers, Polls
- return a 200 with a response body after success
+ return a 200 with a response body after success.
:param product: Product to put
:type product: :class:`Product
@@ -535,11 +529,10 @@ def get_long_running_output(response):
def post_async_relative_retry_succeeded(
self, product=None, custom_headers=None, raw=False, **operation_config):
- """
- Long running post request, service returns a 500, then a 202 to the
+ """Long running post request, service returns a 500, then a 202 to the
initial request, with an entity that contains
ProvisioningState=’Creating’. Poll the endpoint indicated in the
- Azure-AsyncOperation header for operation status
+ Azure-AsyncOperation header for operation status.
:param product: Product to put
:type product: :class:`Product
diff --git a/AutoRest/Generators/Python/Azure.Python.Tests/Expected/AcceptanceTests/Lro/autorestlongrunningoperationtestservice/operations/lrosa_ds_operations.py b/AutoRest/Generators/Python/Azure.Python.Tests/Expected/AcceptanceTests/Lro/autorestlongrunningoperationtestservice/operations/lrosa_ds_operations.py
index 335678d8e5..052d9cd54d 100644
--- a/AutoRest/Generators/Python/Azure.Python.Tests/Expected/AcceptanceTests/Lro/autorestlongrunningoperationtestservice/operations/lrosa_ds_operations.py
+++ b/AutoRest/Generators/Python/Azure.Python.Tests/Expected/AcceptanceTests/Lro/autorestlongrunningoperationtestservice/operations/lrosa_ds_operations.py
@@ -36,8 +36,7 @@ def __init__(self, client, config, serializer, deserializer):
def put_non_retry400(
self, product=None, custom_headers=None, raw=False, **operation_config):
- """
- Long running put request, service returns a 400 to the initial request
+ """Long running put request, service returns a 400 to the initial request.
:param product: Product to put
:type product: :class:`Product
@@ -122,9 +121,8 @@ def get_long_running_output(response):
def put_non_retry201_creating400(
self, product=None, custom_headers=None, raw=False, **operation_config):
- """
- Long running put request, service returns a Product with
- 'ProvisioningState' = 'Creating' and 201 response code
+ """Long running put request, service returns a Product with
+ 'ProvisioningState' = 'Creating' and 201 response code.
:param product: Product to put
:type product: :class:`Product
@@ -209,9 +207,8 @@ def get_long_running_output(response):
def put_non_retry201_creating400_invalid_json(
self, product=None, custom_headers=None, raw=False, **operation_config):
- """
- Long running put request, service returns a Product with
- 'ProvisioningState' = 'Creating' and 201 response code
+ """Long running put request, service returns a Product with
+ 'ProvisioningState' = 'Creating' and 201 response code.
:param product: Product to put
:type product: :class:`Product
@@ -296,10 +293,9 @@ def get_long_running_output(response):
def put_async_relative_retry400(
self, product=None, custom_headers=None, raw=False, **operation_config):
- """
- Long running put request, service returns a 200 with
+ """Long running put request, service returns a 200 with
ProvisioningState=’Creating’. Poll the endpoint indicated in the
- Azure-AsyncOperation header for operation status
+ Azure-AsyncOperation header for operation status.
:param product: Product to put
:type product: :class:`Product
@@ -389,8 +385,7 @@ def get_long_running_output(response):
def delete_non_retry400(
self, custom_headers=None, raw=False, **operation_config):
- """
- Long running delete request, service returns a 400 with an error body
+ """Long running delete request, service returns a 400 with an error body.
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside the
@@ -459,9 +454,8 @@ def get_long_running_output(response):
def delete202_non_retry400(
self, custom_headers=None, raw=False, **operation_config):
- """
- Long running delete request, service returns a 202 with a location
- header
+ """Long running delete request, service returns a 202 with a location
+ header.
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside the
@@ -530,10 +524,9 @@ def get_long_running_output(response):
def delete_async_relative_retry400(
self, custom_headers=None, raw=False, **operation_config):
- """
- Long running delete request, service returns a 202 to the initial
+ """Long running delete request, service returns a 202 to the initial
request. Poll the endpoint indicated in the Azure-AsyncOperation
- header for operation status
+ header for operation status.
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside the
@@ -603,8 +596,7 @@ def get_long_running_output(response):
def post_non_retry400(
self, product=None, custom_headers=None, raw=False, **operation_config):
- """
- Long running post request, service returns a 400 with no error body
+ """Long running post request, service returns a 400 with no error body.
:param product: Product to put
:type product: :class:`Product
@@ -683,8 +675,8 @@ def get_long_running_output(response):
def post202_non_retry400(
self, product=None, custom_headers=None, raw=False, **operation_config):
- """
- Long running post request, service returns a 202 with a location header
+ """Long running post request, service returns a 202 with a location
+ header.
:param product: Product to put
:type product: :class:`Product
@@ -763,10 +755,9 @@ def get_long_running_output(response):
def post_async_relative_retry400(
self, product=None, custom_headers=None, raw=False, **operation_config):
- """
- Long running post request, service returns a 202 to the initial
+ """Long running post request, service returns a 202 to the initial
request Poll the endpoint indicated in the Azure-AsyncOperation
- header for operation status
+ header for operation status.
:param product: Product to put
:type product: :class:`Product
@@ -846,9 +837,8 @@ def get_long_running_output(response):
def put_error201_no_provisioning_state_payload(
self, product=None, custom_headers=None, raw=False, **operation_config):
- """
- Long running put request, service returns a 201 to the initial request
- with no payload
+ """Long running put request, service returns a 201 to the initial request
+ with no payload.
:param product: Product to put
:type product: :class:`Product
@@ -933,11 +923,10 @@ def get_long_running_output(response):
def put_async_relative_retry_no_status(
self, product=None, custom_headers=None, raw=False, **operation_config):
- """
- Long running put request, service returns a 200 to the initial
+ """Long running put request, service returns a 200 to the initial
request, with an entity that contains ProvisioningState=’Creating’.
Poll the endpoint indicated in the Azure-AsyncOperation header for
- operation status
+ operation status.
:param product: Product to put
:type product: :class:`Product
@@ -1027,11 +1016,10 @@ def get_long_running_output(response):
def put_async_relative_retry_no_status_payload(
self, product=None, custom_headers=None, raw=False, **operation_config):
- """
- Long running put request, service returns a 200 to the initial
+ """Long running put request, service returns a 200 to the initial
request, with an entity that contains ProvisioningState=’Creating’.
Poll the endpoint indicated in the Azure-AsyncOperation header for
- operation status
+ operation status.
:param product: Product to put
:type product: :class:`Product
@@ -1121,8 +1109,7 @@ def get_long_running_output(response):
def delete204_succeeded(
self, custom_headers=None, raw=False, **operation_config):
- """
- Long running delete request, service returns a 204 to the initial
+ """Long running delete request, service returns a 204 to the initial
request, indicating success.
:param dict custom_headers: headers that will be added to the request
@@ -1188,10 +1175,9 @@ def get_long_running_output(response):
def delete_async_relative_retry_no_status(
self, custom_headers=None, raw=False, **operation_config):
- """
- Long running delete request, service returns a 202 to the initial
+ """Long running delete request, service returns a 202 to the initial
request. Poll the endpoint indicated in the Azure-AsyncOperation
- header for operation status
+ header for operation status.
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside the
@@ -1261,8 +1247,7 @@ def get_long_running_output(response):
def post202_no_location(
self, product=None, custom_headers=None, raw=False, **operation_config):
- """
- Long running post request, service returns a 202 to the initial
+ """Long running post request, service returns a 202 to the initial
request, without a location header.
:param product: Product to put
@@ -1342,11 +1327,10 @@ def get_long_running_output(response):
def post_async_relative_retry_no_payload(
self, product=None, custom_headers=None, raw=False, **operation_config):
- """
- Long running post request, service returns a 202 to the initial
+ """Long running post request, service returns a 202 to the initial
request, with an entity that contains ProvisioningState=’Creating’.
Poll the endpoint indicated in the Azure-AsyncOperation header for
- operation status
+ operation status.
:param product: Product to put
:type product: :class:`Product
@@ -1426,9 +1410,8 @@ def get_long_running_output(response):
def put200_invalid_json(
self, product=None, custom_headers=None, raw=False, **operation_config):
- """
- Long running put request, service returns a 200 to the initial
- request, with an entity that is not a valid json
+ """Long running put request, service returns a 200 to the initial
+ request, with an entity that is not a valid json.
:param product: Product to put
:type product: :class:`Product
@@ -1511,8 +1494,7 @@ def get_long_running_output(response):
def put_async_relative_retry_invalid_header(
self, product=None, custom_headers=None, raw=False, **operation_config):
- """
- Long running put request, service returns a 200 to the initial
+ """Long running put request, service returns a 200 to the initial
request, with an entity that contains ProvisioningState=’Creating’.
The endpoint indicated in the Azure-AsyncOperation header is invalid.
@@ -1604,11 +1586,10 @@ def get_long_running_output(response):
def put_async_relative_retry_invalid_json_polling(
self, product=None, custom_headers=None, raw=False, **operation_config):
- """
- Long running put request, service returns a 200 to the initial
+ """Long running put request, service returns a 200 to the initial
request, with an entity that contains ProvisioningState=’Creating’.
Poll the endpoint indicated in the Azure-AsyncOperation header for
- operation status
+ operation status.
:param product: Product to put
:type product: :class:`Product
@@ -1698,10 +1679,9 @@ def get_long_running_output(response):
def delete202_retry_invalid_header(
self, custom_headers=None, raw=False, **operation_config):
- """
- Long running delete request, service returns a 202 to the initial
+ """Long running delete request, service returns a 202 to the initial
request receing a reponse with an invalid 'Location' and
- 'Retry-After' headers
+ 'Retry-After' headers.
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside the
@@ -1770,10 +1750,9 @@ def get_long_running_output(response):
def delete_async_relative_retry_invalid_header(
self, custom_headers=None, raw=False, **operation_config):
- """
- Long running delete request, service returns a 202 to the initial
+ """Long running delete request, service returns a 202 to the initial
request. The endpoint indicated in the Azure-AsyncOperation header is
- invalid
+ invalid.
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside the
@@ -1843,10 +1822,9 @@ def get_long_running_output(response):
def delete_async_relative_retry_invalid_json_polling(
self, custom_headers=None, raw=False, **operation_config):
- """
- Long running delete request, service returns a 202 to the initial
+ """Long running delete request, service returns a 202 to the initial
request. Poll the endpoint indicated in the Azure-AsyncOperation
- header for operation status
+ header for operation status.
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside the
@@ -1916,8 +1894,7 @@ def get_long_running_output(response):
def post202_retry_invalid_header(
self, product=None, custom_headers=None, raw=False, **operation_config):
- """
- Long running post request, service returns a 202 to the initial
+ """Long running post request, service returns a 202 to the initial
request, with invalid 'Location' and 'Retry-After' headers.
:param product: Product to put
@@ -1997,8 +1974,7 @@ def get_long_running_output(response):
def post_async_relative_retry_invalid_header(
self, product=None, custom_headers=None, raw=False, **operation_config):
- """
- Long running post request, service returns a 202 to the initial
+ """Long running post request, service returns a 202 to the initial
request, with an entity that contains ProvisioningState=’Creating’.
The endpoint indicated in the Azure-AsyncOperation header is invalid.
@@ -2080,11 +2056,10 @@ def get_long_running_output(response):
def post_async_relative_retry_invalid_json_polling(
self, product=None, custom_headers=None, raw=False, **operation_config):
- """
- Long running post request, service returns a 202 to the initial
+ """Long running post request, service returns a 202 to the initial
request, with an entity that contains ProvisioningState=’Creating’.
Poll the endpoint indicated in the Azure-AsyncOperation header for
- operation status
+ operation status.
:param product: Product to put
:type product: :class:`Product
diff --git a/AutoRest/Generators/Python/Azure.Python.Tests/Expected/AcceptanceTests/Lro/setup.py b/AutoRest/Generators/Python/Azure.Python.Tests/Expected/AcceptanceTests/Lro/setup.py
index dab3d2e5e7..0c397ad78e 100644
--- a/AutoRest/Generators/Python/Azure.Python.Tests/Expected/AcceptanceTests/Lro/setup.py
+++ b/AutoRest/Generators/Python/Azure.Python.Tests/Expected/AcceptanceTests/Lro/setup.py
@@ -22,7 +22,7 @@
# prerequisite: setuptools
# http://pypi.python.org/pypi/setuptools
-REQUIRES = ["msrest>=0.3.0", "msrestazure>=0.3.0"]
+REQUIRES = ["msrest>=0.4.0", "msrestazure>=0.4.0"]
setup(
name=NAME,
diff --git a/AutoRest/Generators/Python/Azure.Python.Tests/Expected/AcceptanceTests/Paging/autorestpagingtestservice/models/operation_result.py b/AutoRest/Generators/Python/Azure.Python.Tests/Expected/AcceptanceTests/Paging/autorestpagingtestservice/models/operation_result.py
index e0af748f82..0b6441dd7e 100644
--- a/AutoRest/Generators/Python/Azure.Python.Tests/Expected/AcceptanceTests/Paging/autorestpagingtestservice/models/operation_result.py
+++ b/AutoRest/Generators/Python/Azure.Python.Tests/Expected/AcceptanceTests/Paging/autorestpagingtestservice/models/operation_result.py
@@ -13,7 +13,7 @@
class OperationResult(Model):
- """OperationResult
+ """OperationResult.
:param status: The status of the request. Possible values include:
'Succeeded', 'Failed', 'canceled', 'Accepted', 'Creating', 'Created',
diff --git a/AutoRest/Generators/Python/Azure.Python.Tests/Expected/AcceptanceTests/Paging/autorestpagingtestservice/models/paging_get_multiple_pages_options.py b/AutoRest/Generators/Python/Azure.Python.Tests/Expected/AcceptanceTests/Paging/autorestpagingtestservice/models/paging_get_multiple_pages_options.py
index 15ba71465c..952957b983 100644
--- a/AutoRest/Generators/Python/Azure.Python.Tests/Expected/AcceptanceTests/Paging/autorestpagingtestservice/models/paging_get_multiple_pages_options.py
+++ b/AutoRest/Generators/Python/Azure.Python.Tests/Expected/AcceptanceTests/Paging/autorestpagingtestservice/models/paging_get_multiple_pages_options.py
@@ -13,8 +13,7 @@
class PagingGetMultiplePagesOptions(Model):
- """
- Additional parameters for the Paging_getMultiplePages operation.
+ """Additional parameters for the Paging_getMultiplePages operation.
:param maxresults: Sets the maximum number of items to return in the
response.
diff --git a/AutoRest/Generators/Python/Azure.Python.Tests/Expected/AcceptanceTests/Paging/autorestpagingtestservice/models/paging_get_multiple_pages_with_offset_options.py b/AutoRest/Generators/Python/Azure.Python.Tests/Expected/AcceptanceTests/Paging/autorestpagingtestservice/models/paging_get_multiple_pages_with_offset_options.py
index 23e7a887f2..0ae57331ef 100644
--- a/AutoRest/Generators/Python/Azure.Python.Tests/Expected/AcceptanceTests/Paging/autorestpagingtestservice/models/paging_get_multiple_pages_with_offset_options.py
+++ b/AutoRest/Generators/Python/Azure.Python.Tests/Expected/AcceptanceTests/Paging/autorestpagingtestservice/models/paging_get_multiple_pages_with_offset_options.py
@@ -13,8 +13,7 @@
class PagingGetMultiplePagesWithOffsetOptions(Model):
- """
- Additional parameters for the Paging_getMultiplePagesWithOffset operation.
+ """Additional parameters for the Paging_getMultiplePagesWithOffset operation.
:param maxresults: Sets the maximum number of items to return in the
response.
diff --git a/AutoRest/Generators/Python/Azure.Python.Tests/Expected/AcceptanceTests/Paging/autorestpagingtestservice/models/product.py b/AutoRest/Generators/Python/Azure.Python.Tests/Expected/AcceptanceTests/Paging/autorestpagingtestservice/models/product.py
index f019f46d72..37e1608a04 100644
--- a/AutoRest/Generators/Python/Azure.Python.Tests/Expected/AcceptanceTests/Paging/autorestpagingtestservice/models/product.py
+++ b/AutoRest/Generators/Python/Azure.Python.Tests/Expected/AcceptanceTests/Paging/autorestpagingtestservice/models/product.py
@@ -13,7 +13,7 @@
class Product(Model):
- """Product
+ """Product.
:param properties:
:type properties: :class:`ProductProperties
diff --git a/AutoRest/Generators/Python/Azure.Python.Tests/Expected/AcceptanceTests/Paging/autorestpagingtestservice/models/product_properties.py b/AutoRest/Generators/Python/Azure.Python.Tests/Expected/AcceptanceTests/Paging/autorestpagingtestservice/models/product_properties.py
index 4db1d4204a..42e5ec19d6 100644
--- a/AutoRest/Generators/Python/Azure.Python.Tests/Expected/AcceptanceTests/Paging/autorestpagingtestservice/models/product_properties.py
+++ b/AutoRest/Generators/Python/Azure.Python.Tests/Expected/AcceptanceTests/Paging/autorestpagingtestservice/models/product_properties.py
@@ -13,7 +13,7 @@
class ProductProperties(Model):
- """ProductProperties
+ """ProductProperties.
:param id:
:type id: int
diff --git a/AutoRest/Generators/Python/Azure.Python.Tests/Expected/AcceptanceTests/Paging/autorestpagingtestservice/operations/paging_operations.py b/AutoRest/Generators/Python/Azure.Python.Tests/Expected/AcceptanceTests/Paging/autorestpagingtestservice/operations/paging_operations.py
index d43a7e29ce..e6783224e8 100644
--- a/AutoRest/Generators/Python/Azure.Python.Tests/Expected/AcceptanceTests/Paging/autorestpagingtestservice/operations/paging_operations.py
+++ b/AutoRest/Generators/Python/Azure.Python.Tests/Expected/AcceptanceTests/Paging/autorestpagingtestservice/operations/paging_operations.py
@@ -35,8 +35,7 @@ def __init__(self, client, config, serializer, deserializer):
def get_single_pages(
self, custom_headers=None, raw=False, **operation_config):
- """
- A paging operation that finishes on the first call without a nextlink
+ """A paging operation that finishes on the first call without a nextlink.
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside the
@@ -93,8 +92,7 @@ def internal_paging(next_link=None, raw=False):
def get_multiple_pages(
self, client_request_id=None, paging_get_multiple_pages_options=None, custom_headers=None, raw=False, **operation_config):
- """
- A paging operation that includes a nextLink that has 10 pages
+ """A paging operation that includes a nextLink that has 10 pages.
:param client_request_id:
:type client_request_id: str
@@ -171,8 +169,7 @@ def internal_paging(next_link=None, raw=False):
def get_multiple_pages_with_offset(
self, paging_get_multiple_pages_with_offset_options, client_request_id=None, custom_headers=None, raw=False, **operation_config):
- """
- A paging operation that includes a nextLink that has 10 pages
+ """A paging operation that includes a nextLink that has 10 pages.
:param paging_get_multiple_pages_with_offset_options: Additional
parameters for the operation
@@ -256,9 +253,9 @@ def internal_paging(next_link=None, raw=False):
def get_multiple_pages_retry_first(
self, custom_headers=None, raw=False, **operation_config):
- """
- A paging operation that fails on the first call with 500 and then
- retries and then get a response including a nextLink that has 10 pages
+ """A paging operation that fails on the first call with 500 and then
+ retries and then get a response including a nextLink that has 10
+ pages.
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside the
@@ -315,8 +312,7 @@ def internal_paging(next_link=None, raw=False):
def get_multiple_pages_retry_second(
self, custom_headers=None, raw=False, **operation_config):
- """
- A paging operation that includes a nextLink that has 10 pages, of
+ """A paging operation that includes a nextLink that has 10 pages, of
which the 2nd call fails first with 500. The client should retry and
finish all 10 pages eventually.
@@ -375,8 +371,7 @@ def internal_paging(next_link=None, raw=False):
def get_single_pages_failure(
self, custom_headers=None, raw=False, **operation_config):
- """
- A paging operation that receives a 400 on the first call
+ """A paging operation that receives a 400 on the first call.
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside the
@@ -433,8 +428,7 @@ def internal_paging(next_link=None, raw=False):
def get_multiple_pages_failure(
self, custom_headers=None, raw=False, **operation_config):
- """
- A paging operation that receives a 400 on the second call
+ """A paging operation that receives a 400 on the second call.
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside the
@@ -491,8 +485,7 @@ def internal_paging(next_link=None, raw=False):
def get_multiple_pages_failure_uri(
self, custom_headers=None, raw=False, **operation_config):
- """
- A paging operation that receives an invalid nextLink
+ """A paging operation that receives an invalid nextLink.
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside the
diff --git a/AutoRest/Generators/Python/Azure.Python.Tests/Expected/AcceptanceTests/Paging/setup.py b/AutoRest/Generators/Python/Azure.Python.Tests/Expected/AcceptanceTests/Paging/setup.py
index 063fc0d938..69e7afeb32 100644
--- a/AutoRest/Generators/Python/Azure.Python.Tests/Expected/AcceptanceTests/Paging/setup.py
+++ b/AutoRest/Generators/Python/Azure.Python.Tests/Expected/AcceptanceTests/Paging/setup.py
@@ -22,7 +22,7 @@
# prerequisite: setuptools
# http://pypi.python.org/pypi/setuptools
-REQUIRES = ["msrest>=0.3.0", "msrestazure>=0.3.0"]
+REQUIRES = ["msrest>=0.4.0", "msrestazure>=0.4.0"]
setup(
name=NAME,
diff --git a/AutoRest/Generators/Python/Azure.Python.Tests/Expected/AcceptanceTests/StorageManagementClient/setup.py b/AutoRest/Generators/Python/Azure.Python.Tests/Expected/AcceptanceTests/StorageManagementClient/setup.py
index b204e8c8c2..b27c6048bb 100644
--- a/AutoRest/Generators/Python/Azure.Python.Tests/Expected/AcceptanceTests/StorageManagementClient/setup.py
+++ b/AutoRest/Generators/Python/Azure.Python.Tests/Expected/AcceptanceTests/StorageManagementClient/setup.py
@@ -22,7 +22,7 @@
# prerequisite: setuptools
# http://pypi.python.org/pypi/setuptools
-REQUIRES = ["msrest>=0.3.0", "msrestazure>=0.3.0"]
+REQUIRES = ["msrest>=0.4.0", "msrestazure>=0.4.0"]
setup(
name=NAME,
diff --git a/AutoRest/Generators/Python/Azure.Python.Tests/Expected/AcceptanceTests/StorageManagementClient/storagemanagementclient/models/bar.py b/AutoRest/Generators/Python/Azure.Python.Tests/Expected/AcceptanceTests/StorageManagementClient/storagemanagementclient/models/bar.py
index 09c2ed766e..2366ca28fb 100644
--- a/AutoRest/Generators/Python/Azure.Python.Tests/Expected/AcceptanceTests/StorageManagementClient/storagemanagementclient/models/bar.py
+++ b/AutoRest/Generators/Python/Azure.Python.Tests/Expected/AcceptanceTests/StorageManagementClient/storagemanagementclient/models/bar.py
@@ -13,8 +13,7 @@
class Bar(Model):
- """
- The URIs that are used to perform a retrieval of a public blob, queue or
+ """The URIs that are used to perform a retrieval of a public blob, queue or
table object.
:param recursive_point: Recursive Endpoints
diff --git a/AutoRest/Generators/Python/Azure.Python.Tests/Expected/AcceptanceTests/StorageManagementClient/storagemanagementclient/models/check_name_availability_result.py b/AutoRest/Generators/Python/Azure.Python.Tests/Expected/AcceptanceTests/StorageManagementClient/storagemanagementclient/models/check_name_availability_result.py
index dc3874fdaa..c75d3bf35d 100644
--- a/AutoRest/Generators/Python/Azure.Python.Tests/Expected/AcceptanceTests/StorageManagementClient/storagemanagementclient/models/check_name_availability_result.py
+++ b/AutoRest/Generators/Python/Azure.Python.Tests/Expected/AcceptanceTests/StorageManagementClient/storagemanagementclient/models/check_name_availability_result.py
@@ -13,8 +13,7 @@
class CheckNameAvailabilityResult(Model):
- """
- The CheckNameAvailability operation response.
+ """The CheckNameAvailability operation response.
:param name_available: Gets a boolean value that indicates whether the
name is available for you to use. If true, the name is available. If
@@ -24,7 +23,7 @@ class CheckNameAvailabilityResult(Model):
used. The Reason element is only returned if NameAvailable is false.
Possible values include: 'AccountNameInvalid', 'AlreadyExists'
:type reason: str or :class:`Reason
- `
+ `
:param message: Gets an error message explaining the Reason value in more
detail.
:type message: str
diff --git a/AutoRest/Generators/Python/Azure.Python.Tests/Expected/AcceptanceTests/StorageManagementClient/storagemanagementclient/models/custom_domain.py b/AutoRest/Generators/Python/Azure.Python.Tests/Expected/AcceptanceTests/StorageManagementClient/storagemanagementclient/models/custom_domain.py
index f23bf8e669..3dc196a2f8 100644
--- a/AutoRest/Generators/Python/Azure.Python.Tests/Expected/AcceptanceTests/StorageManagementClient/storagemanagementclient/models/custom_domain.py
+++ b/AutoRest/Generators/Python/Azure.Python.Tests/Expected/AcceptanceTests/StorageManagementClient/storagemanagementclient/models/custom_domain.py
@@ -13,8 +13,7 @@
class CustomDomain(Model):
- """
- The custom domain assigned to this storage account. This can be set via
+ """The custom domain assigned to this storage account. This can be set via
Update.
:param name: Gets or sets the custom domain name. Name is the CNAME
diff --git a/AutoRest/Generators/Python/Azure.Python.Tests/Expected/AcceptanceTests/StorageManagementClient/storagemanagementclient/models/endpoints.py b/AutoRest/Generators/Python/Azure.Python.Tests/Expected/AcceptanceTests/StorageManagementClient/storagemanagementclient/models/endpoints.py
index 898527a5c8..de15218431 100644
--- a/AutoRest/Generators/Python/Azure.Python.Tests/Expected/AcceptanceTests/StorageManagementClient/storagemanagementclient/models/endpoints.py
+++ b/AutoRest/Generators/Python/Azure.Python.Tests/Expected/AcceptanceTests/StorageManagementClient/storagemanagementclient/models/endpoints.py
@@ -13,8 +13,7 @@
class Endpoints(Model):
- """
- The URIs that are used to perform a retrieval of a public blob, queue or
+ """The URIs that are used to perform a retrieval of a public blob, queue or
table object.
:param blob: Gets the blob endpoint.
diff --git a/AutoRest/Generators/Python/Azure.Python.Tests/Expected/AcceptanceTests/StorageManagementClient/storagemanagementclient/models/foo.py b/AutoRest/Generators/Python/Azure.Python.Tests/Expected/AcceptanceTests/StorageManagementClient/storagemanagementclient/models/foo.py
index 2de0ad72c8..3265b30af4 100644
--- a/AutoRest/Generators/Python/Azure.Python.Tests/Expected/AcceptanceTests/StorageManagementClient/storagemanagementclient/models/foo.py
+++ b/AutoRest/Generators/Python/Azure.Python.Tests/Expected/AcceptanceTests/StorageManagementClient/storagemanagementclient/models/foo.py
@@ -13,8 +13,7 @@
class Foo(Model):
- """
- The URIs that are used to perform a retrieval of a public blob, queue or
+ """The URIs that are used to perform a retrieval of a public blob, queue or
table object.
:param bar_point: Bar point
diff --git a/AutoRest/Generators/Python/Azure.Python.Tests/Expected/AcceptanceTests/StorageManagementClient/storagemanagementclient/models/resource.py b/AutoRest/Generators/Python/Azure.Python.Tests/Expected/AcceptanceTests/StorageManagementClient/storagemanagementclient/models/resource.py
index 8d25c5c02f..6768f9c9a1 100644
--- a/AutoRest/Generators/Python/Azure.Python.Tests/Expected/AcceptanceTests/StorageManagementClient/storagemanagementclient/models/resource.py
+++ b/AutoRest/Generators/Python/Azure.Python.Tests/Expected/AcceptanceTests/StorageManagementClient/storagemanagementclient/models/resource.py
@@ -13,7 +13,7 @@
class Resource(Model):
- """Resource
+ """Resource.
Variables are only populated by the server, and will be ignored when
sending a request.
diff --git a/AutoRest/Generators/Python/Azure.Python.Tests/Expected/AcceptanceTests/StorageManagementClient/storagemanagementclient/models/storage_account.py b/AutoRest/Generators/Python/Azure.Python.Tests/Expected/AcceptanceTests/StorageManagementClient/storagemanagementclient/models/storage_account.py
index 8ed5eace27..6392859873 100644
--- a/AutoRest/Generators/Python/Azure.Python.Tests/Expected/AcceptanceTests/StorageManagementClient/storagemanagementclient/models/storage_account.py
+++ b/AutoRest/Generators/Python/Azure.Python.Tests/Expected/AcceptanceTests/StorageManagementClient/storagemanagementclient/models/storage_account.py
@@ -13,8 +13,7 @@
class StorageAccount(Resource):
- """
- The storage account.
+ """The storage account.
Variables are only populated by the server, and will be ignored when
sending a request.
@@ -33,12 +32,12 @@ class StorageAccount(Resource):
time the operation was called. Possible values include: 'Creating',
'ResolvingDNS', 'Succeeded'
:type provisioning_state: str or :class:`ProvisioningState
- `
+ `
:param account_type: Gets the type of the storage account. Possible
values include: 'Standard_LRS', 'Standard_ZRS', 'Standard_GRS',
'Standard_RAGRS', 'Premium_LRS'
:type account_type: str or :class:`AccountType
- `
+ `
:param primary_endpoints: Gets the URLs that are used to perform a
retrieval of a public blob, queue or table object.Note that StandardZRS
and PremiumLRS accounts only return the blob endpoint.
@@ -51,7 +50,7 @@ class StorageAccount(Resource):
location of the storage account is available or unavailable. Possible
values include: 'Available', 'Unavailable'
:type status_of_primary: str or :class:`AccountStatus
- `
+ `
:param last_geo_failover_time: Gets the timestamp of the most recent
instance of a failover to the secondary location. Only the most recent
timestamp is retained. This element is not returned if there has never
@@ -67,7 +66,7 @@ class StorageAccount(Resource):
Only available if the accountType is StandardGRS or StandardRAGRS.
Possible values include: 'Available', 'Unavailable'
:type status_of_secondary: str or :class:`AccountStatus
- `
+ `
:param creation_time: Gets the creation date and time of the storage
account in UTC.
:type creation_time: datetime
diff --git a/AutoRest/Generators/Python/Azure.Python.Tests/Expected/AcceptanceTests/StorageManagementClient/storagemanagementclient/models/storage_account_check_name_availability_parameters.py b/AutoRest/Generators/Python/Azure.Python.Tests/Expected/AcceptanceTests/StorageManagementClient/storagemanagementclient/models/storage_account_check_name_availability_parameters.py
index 3874804d1a..d6f9cce9f9 100644
--- a/AutoRest/Generators/Python/Azure.Python.Tests/Expected/AcceptanceTests/StorageManagementClient/storagemanagementclient/models/storage_account_check_name_availability_parameters.py
+++ b/AutoRest/Generators/Python/Azure.Python.Tests/Expected/AcceptanceTests/StorageManagementClient/storagemanagementclient/models/storage_account_check_name_availability_parameters.py
@@ -13,7 +13,7 @@
class StorageAccountCheckNameAvailabilityParameters(Model):
- """StorageAccountCheckNameAvailabilityParameters
+ """StorageAccountCheckNameAvailabilityParameters.
:param name:
:type name: str
diff --git a/AutoRest/Generators/Python/Azure.Python.Tests/Expected/AcceptanceTests/StorageManagementClient/storagemanagementclient/models/storage_account_create_parameters.py b/AutoRest/Generators/Python/Azure.Python.Tests/Expected/AcceptanceTests/StorageManagementClient/storagemanagementclient/models/storage_account_create_parameters.py
index 33c7e0b3d7..ef36c62550 100644
--- a/AutoRest/Generators/Python/Azure.Python.Tests/Expected/AcceptanceTests/StorageManagementClient/storagemanagementclient/models/storage_account_create_parameters.py
+++ b/AutoRest/Generators/Python/Azure.Python.Tests/Expected/AcceptanceTests/StorageManagementClient/storagemanagementclient/models/storage_account_create_parameters.py
@@ -13,8 +13,7 @@
class StorageAccountCreateParameters(Resource):
- """
- The parameters to provide for the account.
+ """The parameters to provide for the account.
Variables are only populated by the server, and will be ignored when
sending a request.
@@ -33,7 +32,7 @@ class StorageAccountCreateParameters(Resource):
include: 'Standard_LRS', 'Standard_ZRS', 'Standard_GRS',
'Standard_RAGRS', 'Premium_LRS'
:type account_type: str or :class:`AccountType
- `
+ `
"""
_validation = {
diff --git a/AutoRest/Generators/Python/Azure.Python.Tests/Expected/AcceptanceTests/StorageManagementClient/storagemanagementclient/models/storage_account_keys.py b/AutoRest/Generators/Python/Azure.Python.Tests/Expected/AcceptanceTests/StorageManagementClient/storagemanagementclient/models/storage_account_keys.py
index 6a49f862ea..0b2407aad7 100644
--- a/AutoRest/Generators/Python/Azure.Python.Tests/Expected/AcceptanceTests/StorageManagementClient/storagemanagementclient/models/storage_account_keys.py
+++ b/AutoRest/Generators/Python/Azure.Python.Tests/Expected/AcceptanceTests/StorageManagementClient/storagemanagementclient/models/storage_account_keys.py
@@ -13,8 +13,7 @@
class StorageAccountKeys(Model):
- """
- The access keys for the storage account.
+ """The access keys for the storage account.
:param key1: Gets the value of key 1.
:type key1: str
diff --git a/AutoRest/Generators/Python/Azure.Python.Tests/Expected/AcceptanceTests/StorageManagementClient/storagemanagementclient/models/storage_account_regenerate_key_parameters.py b/AutoRest/Generators/Python/Azure.Python.Tests/Expected/AcceptanceTests/StorageManagementClient/storagemanagementclient/models/storage_account_regenerate_key_parameters.py
index 7a1da3a0e5..bb2c645c9a 100644
--- a/AutoRest/Generators/Python/Azure.Python.Tests/Expected/AcceptanceTests/StorageManagementClient/storagemanagementclient/models/storage_account_regenerate_key_parameters.py
+++ b/AutoRest/Generators/Python/Azure.Python.Tests/Expected/AcceptanceTests/StorageManagementClient/storagemanagementclient/models/storage_account_regenerate_key_parameters.py
@@ -13,11 +13,11 @@
class StorageAccountRegenerateKeyParameters(Model):
- """StorageAccountRegenerateKeyParameters
+ """StorageAccountRegenerateKeyParameters.
:param key_name: Possible values include: 'key1', 'key2'
:type key_name: str or :class:`KeyName
- `
+ `
"""
_attribute_map = {
diff --git a/AutoRest/Generators/Python/Azure.Python.Tests/Expected/AcceptanceTests/StorageManagementClient/storagemanagementclient/models/storage_account_update_parameters.py b/AutoRest/Generators/Python/Azure.Python.Tests/Expected/AcceptanceTests/StorageManagementClient/storagemanagementclient/models/storage_account_update_parameters.py
index f858c85e39..21940f67fb 100644
--- a/AutoRest/Generators/Python/Azure.Python.Tests/Expected/AcceptanceTests/StorageManagementClient/storagemanagementclient/models/storage_account_update_parameters.py
+++ b/AutoRest/Generators/Python/Azure.Python.Tests/Expected/AcceptanceTests/StorageManagementClient/storagemanagementclient/models/storage_account_update_parameters.py
@@ -13,8 +13,7 @@
class StorageAccountUpdateParameters(Resource):
- """
- The parameters to update on the account.
+ """The parameters to update on the account.
Variables are only populated by the server, and will be ignored when
sending a request.
@@ -35,7 +34,7 @@ class StorageAccountUpdateParameters(Resource):
Possible values include: 'Standard_LRS', 'Standard_ZRS', 'Standard_GRS',
'Standard_RAGRS', 'Premium_LRS'
:type account_type: str or :class:`AccountType
- `
+ `
:param custom_domain: User domain assigned to the storage account. Name
is the CNAME source. Only one custom domain is supported per storage
account at this time. To clear the existing custom domain, use an empty
diff --git a/AutoRest/Generators/Python/Azure.Python.Tests/Expected/AcceptanceTests/StorageManagementClient/storagemanagementclient/models/sub_resource.py b/AutoRest/Generators/Python/Azure.Python.Tests/Expected/AcceptanceTests/StorageManagementClient/storagemanagementclient/models/sub_resource.py
index 676b7409de..51fdfe0a41 100644
--- a/AutoRest/Generators/Python/Azure.Python.Tests/Expected/AcceptanceTests/StorageManagementClient/storagemanagementclient/models/sub_resource.py
+++ b/AutoRest/Generators/Python/Azure.Python.Tests/Expected/AcceptanceTests/StorageManagementClient/storagemanagementclient/models/sub_resource.py
@@ -13,7 +13,7 @@
class SubResource(Model):
- """SubResource
+ """SubResource.
:param id: Resource Id
:type id: str
diff --git a/AutoRest/Generators/Python/Azure.Python.Tests/Expected/AcceptanceTests/StorageManagementClient/storagemanagementclient/models/usage.py b/AutoRest/Generators/Python/Azure.Python.Tests/Expected/AcceptanceTests/StorageManagementClient/storagemanagementclient/models/usage.py
index 9b3983b234..de33ea9281 100644
--- a/AutoRest/Generators/Python/Azure.Python.Tests/Expected/AcceptanceTests/StorageManagementClient/storagemanagementclient/models/usage.py
+++ b/AutoRest/Generators/Python/Azure.Python.Tests/Expected/AcceptanceTests/StorageManagementClient/storagemanagementclient/models/usage.py
@@ -13,14 +13,13 @@
class Usage(Model):
- """
- Describes Storage Resource Usage.
+ """Describes Storage Resource Usage.
:param unit: Gets the unit of measurement. Possible values include:
'Count', 'Bytes', 'Seconds', 'Percent', 'CountsPerSecond',
'BytesPerSecond'
:type unit: str or :class:`UsageUnit
- `
+ `
:param current_value: Gets the current count of the allocated resources
in the subscription.
:type current_value: int
diff --git a/AutoRest/Generators/Python/Azure.Python.Tests/Expected/AcceptanceTests/StorageManagementClient/storagemanagementclient/models/usage_list_result.py b/AutoRest/Generators/Python/Azure.Python.Tests/Expected/AcceptanceTests/StorageManagementClient/storagemanagementclient/models/usage_list_result.py
index 58bcc17497..c30fac4d63 100644
--- a/AutoRest/Generators/Python/Azure.Python.Tests/Expected/AcceptanceTests/StorageManagementClient/storagemanagementclient/models/usage_list_result.py
+++ b/AutoRest/Generators/Python/Azure.Python.Tests/Expected/AcceptanceTests/StorageManagementClient/storagemanagementclient/models/usage_list_result.py
@@ -13,8 +13,7 @@
class UsageListResult(Model):
- """
- The List Usages operation response.
+ """The List Usages operation response.
:param value: Gets or sets the list Storage Resource Usages.
:type value: list of :class:`Usage
diff --git a/AutoRest/Generators/Python/Azure.Python.Tests/Expected/AcceptanceTests/StorageManagementClient/storagemanagementclient/models/usage_name.py b/AutoRest/Generators/Python/Azure.Python.Tests/Expected/AcceptanceTests/StorageManagementClient/storagemanagementclient/models/usage_name.py
index 91e050893c..a4a86e46dd 100644
--- a/AutoRest/Generators/Python/Azure.Python.Tests/Expected/AcceptanceTests/StorageManagementClient/storagemanagementclient/models/usage_name.py
+++ b/AutoRest/Generators/Python/Azure.Python.Tests/Expected/AcceptanceTests/StorageManagementClient/storagemanagementclient/models/usage_name.py
@@ -13,8 +13,7 @@
class UsageName(Model):
- """
- The Usage Names.
+ """The Usage Names.
:param value: Gets a string describing the resource name.
:type value: str
diff --git a/AutoRest/Generators/Python/Azure.Python.Tests/Expected/AcceptanceTests/StorageManagementClient/storagemanagementclient/operations/storage_accounts_operations.py b/AutoRest/Generators/Python/Azure.Python.Tests/Expected/AcceptanceTests/StorageManagementClient/storagemanagementclient/operations/storage_accounts_operations.py
index d2583af6ef..99e1ef7933 100644
--- a/AutoRest/Generators/Python/Azure.Python.Tests/Expected/AcceptanceTests/StorageManagementClient/storagemanagementclient/operations/storage_accounts_operations.py
+++ b/AutoRest/Generators/Python/Azure.Python.Tests/Expected/AcceptanceTests/StorageManagementClient/storagemanagementclient/operations/storage_accounts_operations.py
@@ -36,8 +36,7 @@ def __init__(self, client, config, serializer, deserializer):
def check_name_availability(
self, account_name, custom_headers=None, raw=False, **operation_config):
- """
- Checks that account name is valid and is not in use.
+ """Checks that account name is valid and is not in use.
:param account_name: The name of the storage account within the
specified resource group. Storage account names must be between 3
@@ -103,12 +102,11 @@ def check_name_availability(
def create(
self, resource_group_name, account_name, parameters, custom_headers=None, raw=False, **operation_config):
- """
- Asynchronously creates a new storage account with the specified
+ """Asynchronously creates a new storage account with the specified
parameters. Existing accounts cannot be updated with this API and
should instead use the Update Storage Account API. If an account is
already created and subsequent PUT request is issued with exact same
- set of properties, then HTTP 200 would be returned.
+ set of properties, then HTTP 200 would be returned. .
:param resource_group_name: The name of the resource group within the
user’s subscription.
@@ -203,8 +201,7 @@ def get_long_running_output(response):
def delete(
self, resource_group_name, account_name, custom_headers=None, raw=False, **operation_config):
- """
- Deletes a storage account in Microsoft Azure.
+ """Deletes a storage account in Microsoft Azure.
:param resource_group_name: The name of the resource group within the
user’s subscription.
@@ -261,8 +258,7 @@ def delete(
def get_properties(
self, resource_group_name, account_name, custom_headers=None, raw=False, **operation_config):
- """
- Returns the properties for the specified storage account including but
+ """Returns the properties for the specified storage account including but
not limited to name, account type, location, and account status. The
ListKeys operation should be used to retrieve storage keys.
@@ -329,8 +325,7 @@ def get_properties(
def update(
self, resource_group_name, account_name, parameters, custom_headers=None, raw=False, **operation_config):
- """
- Updates the account type or tags for a storage account. It can also be
+ """Updates the account type or tags for a storage account. It can also be
used to add a custom domain (note that custom domains cannot be added
via the Create operation). Only one custom domain is supported per
storage account. This API can only be used to update one of tags,
@@ -412,8 +407,7 @@ def update(
def list_keys(
self, resource_group_name, account_name, custom_headers=None, raw=False, **operation_config):
- """
- Lists the access keys for the specified storage account.
+ """Lists the access keys for the specified storage account.
:param resource_group_name: The name of the resource group.
:type resource_group_name: str
@@ -474,8 +468,7 @@ def list_keys(
def list(
self, custom_headers=None, raw=False, **operation_config):
- """
- Lists all the storage accounts available under the subscription. Note
+ """Lists all the storage accounts available under the subscription. Note
that storage keys are not returned; use the ListKeys operation for
this.
@@ -539,8 +532,7 @@ def internal_paging(next_link=None, raw=False):
def list_by_resource_group(
self, resource_group_name, custom_headers=None, raw=False, **operation_config):
- """
- Lists all the storage accounts available under the given resource
+ """Lists all the storage accounts available under the given resource
group. Note that storage keys are not returned; use the ListKeys
operation for this.
@@ -608,8 +600,7 @@ def internal_paging(next_link=None, raw=False):
def regenerate_key(
self, resource_group_name, account_name, key_name=None, custom_headers=None, raw=False, **operation_config):
- """
- Regenerates the access keys for the specified storage account.
+ """Regenerates the access keys for the specified storage account.
:param resource_group_name: The name of the resource group within the
user’s subscription.
@@ -621,7 +612,7 @@ def regenerate_key(
:type account_name: str
:param key_name: Possible values include: 'key1', 'key2'
:type key_name: str or :class:`KeyName
- `
+ `
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside the
deserialized response
diff --git a/AutoRest/Generators/Python/Azure.Python.Tests/Expected/AcceptanceTests/StorageManagementClient/storagemanagementclient/operations/usage_operations.py b/AutoRest/Generators/Python/Azure.Python.Tests/Expected/AcceptanceTests/StorageManagementClient/storagemanagementclient/operations/usage_operations.py
index c4401f53ec..06951f2c57 100644
--- a/AutoRest/Generators/Python/Azure.Python.Tests/Expected/AcceptanceTests/StorageManagementClient/storagemanagementclient/operations/usage_operations.py
+++ b/AutoRest/Generators/Python/Azure.Python.Tests/Expected/AcceptanceTests/StorageManagementClient/storagemanagementclient/operations/usage_operations.py
@@ -35,8 +35,7 @@ def __init__(self, client, config, serializer, deserializer):
def list(
self, custom_headers=None, raw=False, **operation_config):
- """
- Gets the current usage count and the limit for the resources under the
+ """Gets the current usage count and the limit for the resources under the
subscription.
:param dict custom_headers: headers that will be added to the request
diff --git a/AutoRest/Generators/Python/Azure.Python.Tests/Expected/AcceptanceTests/SubscriptionIdApiVersion/microsoftazuretesturl/models/error.py b/AutoRest/Generators/Python/Azure.Python.Tests/Expected/AcceptanceTests/SubscriptionIdApiVersion/microsoftazuretesturl/models/error.py
index 9b230ca9de..0fc739a757 100644
--- a/AutoRest/Generators/Python/Azure.Python.Tests/Expected/AcceptanceTests/SubscriptionIdApiVersion/microsoftazuretesturl/models/error.py
+++ b/AutoRest/Generators/Python/Azure.Python.Tests/Expected/AcceptanceTests/SubscriptionIdApiVersion/microsoftazuretesturl/models/error.py
@@ -14,7 +14,7 @@
class Error(Model):
- """Error
+ """Error.
:param code:
:type code: int
diff --git a/AutoRest/Generators/Python/Azure.Python.Tests/Expected/AcceptanceTests/SubscriptionIdApiVersion/microsoftazuretesturl/models/sample_resource_group.py b/AutoRest/Generators/Python/Azure.Python.Tests/Expected/AcceptanceTests/SubscriptionIdApiVersion/microsoftazuretesturl/models/sample_resource_group.py
index 19fa537a1b..bbc12bb46a 100644
--- a/AutoRest/Generators/Python/Azure.Python.Tests/Expected/AcceptanceTests/SubscriptionIdApiVersion/microsoftazuretesturl/models/sample_resource_group.py
+++ b/AutoRest/Generators/Python/Azure.Python.Tests/Expected/AcceptanceTests/SubscriptionIdApiVersion/microsoftazuretesturl/models/sample_resource_group.py
@@ -13,7 +13,7 @@
class SampleResourceGroup(Model):
- """SampleResourceGroup
+ """SampleResourceGroup.
:param name: resource group name 'testgroup101'
:type name: str
diff --git a/AutoRest/Generators/Python/Azure.Python.Tests/Expected/AcceptanceTests/SubscriptionIdApiVersion/microsoftazuretesturl/operations/group_operations.py b/AutoRest/Generators/Python/Azure.Python.Tests/Expected/AcceptanceTests/SubscriptionIdApiVersion/microsoftazuretesturl/operations/group_operations.py
index 0ed768dc0f..ae8902e527 100644
--- a/AutoRest/Generators/Python/Azure.Python.Tests/Expected/AcceptanceTests/SubscriptionIdApiVersion/microsoftazuretesturl/operations/group_operations.py
+++ b/AutoRest/Generators/Python/Azure.Python.Tests/Expected/AcceptanceTests/SubscriptionIdApiVersion/microsoftazuretesturl/operations/group_operations.py
@@ -34,8 +34,7 @@ def __init__(self, client, config, serializer, deserializer):
def get_sample_resource_group(
self, resource_group_name, custom_headers=None, raw=False, **operation_config):
- """
- Provides a resouce group with name 'testgroup101' and location 'West
+ """Provides a resouce group with name 'testgroup101' and location 'West
US'.
:param resource_group_name: Resource Group name 'testgroup101'.
diff --git a/AutoRest/Generators/Python/Azure.Python.Tests/Expected/AcceptanceTests/SubscriptionIdApiVersion/setup.py b/AutoRest/Generators/Python/Azure.Python.Tests/Expected/AcceptanceTests/SubscriptionIdApiVersion/setup.py
index 270e110d8b..940ccab416 100644
--- a/AutoRest/Generators/Python/Azure.Python.Tests/Expected/AcceptanceTests/SubscriptionIdApiVersion/setup.py
+++ b/AutoRest/Generators/Python/Azure.Python.Tests/Expected/AcceptanceTests/SubscriptionIdApiVersion/setup.py
@@ -22,7 +22,7 @@
# prerequisite: setuptools
# http://pypi.python.org/pypi/setuptools
-REQUIRES = ["msrest>=0.3.0", "msrestazure>=0.3.0"]
+REQUIRES = ["msrest>=0.4.0", "msrestazure>=0.4.0"]
setup(
name=NAME,
diff --git a/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/BodyArray/autorestswaggerbatarrayservice/models/error.py b/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/BodyArray/autorestswaggerbatarrayservice/models/error.py
index c2d19e377e..eb6c5cdea9 100644
--- a/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/BodyArray/autorestswaggerbatarrayservice/models/error.py
+++ b/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/BodyArray/autorestswaggerbatarrayservice/models/error.py
@@ -14,7 +14,7 @@
class Error(Model):
- """Error
+ """Error.
:param status:
:type status: int
diff --git a/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/BodyArray/autorestswaggerbatarrayservice/models/product.py b/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/BodyArray/autorestswaggerbatarrayservice/models/product.py
index b74b8ee418..99a63e6bd9 100644
--- a/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/BodyArray/autorestswaggerbatarrayservice/models/product.py
+++ b/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/BodyArray/autorestswaggerbatarrayservice/models/product.py
@@ -13,7 +13,7 @@
class Product(Model):
- """Product
+ """Product.
:param integer:
:type integer: int
diff --git a/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/BodyArray/autorestswaggerbatarrayservice/operations/array.py b/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/BodyArray/autorestswaggerbatarrayservice/operations/array.py
index abed9ea1af..7c04d04bca 100644
--- a/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/BodyArray/autorestswaggerbatarrayservice/operations/array.py
+++ b/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/BodyArray/autorestswaggerbatarrayservice/operations/array.py
@@ -33,8 +33,7 @@ def __init__(self, client, config, serializer, deserializer):
def get_null(
self, custom_headers=None, raw=False, **operation_config):
- """
- Get null array value
+ """Get null array value.
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside the
@@ -77,8 +76,7 @@ def get_null(
def get_invalid(
self, custom_headers=None, raw=False, **operation_config):
- """
- Get invalid array [1, 2, 3
+ """Get invalid array [1, 2, 3.
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside the
@@ -121,8 +119,7 @@ def get_invalid(
def get_empty(
self, custom_headers=None, raw=False, **operation_config):
- """
- Get empty array value []
+ """Get empty array value [].
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside the
@@ -165,8 +162,7 @@ def get_empty(
def put_empty(
self, array_body, custom_headers=None, raw=False, **operation_config):
- """
- Set array value empty []
+ """Set array value empty [].
:param array_body:
:type array_body: list of str
@@ -208,8 +204,7 @@ def put_empty(
def get_boolean_tfft(
self, custom_headers=None, raw=False, **operation_config):
- """
- Get boolean array value [true, false, false, true]
+ """Get boolean array value [true, false, false, true].
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside the
@@ -252,8 +247,7 @@ def get_boolean_tfft(
def put_boolean_tfft(
self, array_body, custom_headers=None, raw=False, **operation_config):
- """
- Set array value empty [true, false, false, true]
+ """Set array value empty [true, false, false, true].
:param array_body:
:type array_body: list of bool
@@ -295,8 +289,7 @@ def put_boolean_tfft(
def get_boolean_invalid_null(
self, custom_headers=None, raw=False, **operation_config):
- """
- Get boolean array value [true, null, false]
+ """Get boolean array value [true, null, false].
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside the
@@ -339,8 +332,7 @@ def get_boolean_invalid_null(
def get_boolean_invalid_string(
self, custom_headers=None, raw=False, **operation_config):
- """
- Get boolean array value [true, 'boolean', false]
+ """Get boolean array value [true, 'boolean', false].
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside the
@@ -383,8 +375,7 @@ def get_boolean_invalid_string(
def get_integer_valid(
self, custom_headers=None, raw=False, **operation_config):
- """
- Get integer array value [1, -1, 3, 300]
+ """Get integer array value [1, -1, 3, 300].
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside the
@@ -427,8 +418,7 @@ def get_integer_valid(
def put_integer_valid(
self, array_body, custom_headers=None, raw=False, **operation_config):
- """
- Set array value empty [1, -1, 3, 300]
+ """Set array value empty [1, -1, 3, 300].
:param array_body:
:type array_body: list of int
@@ -470,8 +460,7 @@ def put_integer_valid(
def get_int_invalid_null(
self, custom_headers=None, raw=False, **operation_config):
- """
- Get integer array value [1, null, 0]
+ """Get integer array value [1, null, 0].
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside the
@@ -514,8 +503,7 @@ def get_int_invalid_null(
def get_int_invalid_string(
self, custom_headers=None, raw=False, **operation_config):
- """
- Get integer array value [1, 'integer', 0]
+ """Get integer array value [1, 'integer', 0].
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside the
@@ -558,8 +546,7 @@ def get_int_invalid_string(
def get_long_valid(
self, custom_headers=None, raw=False, **operation_config):
- """
- Get integer array value [1, -1, 3, 300]
+ """Get integer array value [1, -1, 3, 300].
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside the
@@ -602,8 +589,7 @@ def get_long_valid(
def put_long_valid(
self, array_body, custom_headers=None, raw=False, **operation_config):
- """
- Set array value empty [1, -1, 3, 300]
+ """Set array value empty [1, -1, 3, 300].
:param array_body:
:type array_body: list of long
@@ -645,8 +631,7 @@ def put_long_valid(
def get_long_invalid_null(
self, custom_headers=None, raw=False, **operation_config):
- """
- Get long array value [1, null, 0]
+ """Get long array value [1, null, 0].
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside the
@@ -689,8 +674,7 @@ def get_long_invalid_null(
def get_long_invalid_string(
self, custom_headers=None, raw=False, **operation_config):
- """
- Get long array value [1, 'integer', 0]
+ """Get long array value [1, 'integer', 0].
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside the
@@ -733,8 +717,7 @@ def get_long_invalid_string(
def get_float_valid(
self, custom_headers=None, raw=False, **operation_config):
- """
- Get float array value [0, -0.01, 1.2e20]
+ """Get float array value [0, -0.01, 1.2e20].
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside the
@@ -777,8 +760,7 @@ def get_float_valid(
def put_float_valid(
self, array_body, custom_headers=None, raw=False, **operation_config):
- """
- Set array value [0, -0.01, 1.2e20]
+ """Set array value [0, -0.01, 1.2e20].
:param array_body:
:type array_body: list of float
@@ -820,8 +802,7 @@ def put_float_valid(
def get_float_invalid_null(
self, custom_headers=None, raw=False, **operation_config):
- """
- Get float array value [0.0, null, -1.2e20]
+ """Get float array value [0.0, null, -1.2e20].
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside the
@@ -864,8 +845,7 @@ def get_float_invalid_null(
def get_float_invalid_string(
self, custom_headers=None, raw=False, **operation_config):
- """
- Get boolean array value [1.0, 'number', 0.0]
+ """Get boolean array value [1.0, 'number', 0.0].
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside the
@@ -908,8 +888,7 @@ def get_float_invalid_string(
def get_double_valid(
self, custom_headers=None, raw=False, **operation_config):
- """
- Get float array value [0, -0.01, 1.2e20]
+ """Get float array value [0, -0.01, 1.2e20].
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside the
@@ -952,8 +931,7 @@ def get_double_valid(
def put_double_valid(
self, array_body, custom_headers=None, raw=False, **operation_config):
- """
- Set array value [0, -0.01, 1.2e20]
+ """Set array value [0, -0.01, 1.2e20].
:param array_body:
:type array_body: list of float
@@ -995,8 +973,7 @@ def put_double_valid(
def get_double_invalid_null(
self, custom_headers=None, raw=False, **operation_config):
- """
- Get float array value [0.0, null, -1.2e20]
+ """Get float array value [0.0, null, -1.2e20].
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside the
@@ -1039,8 +1016,7 @@ def get_double_invalid_null(
def get_double_invalid_string(
self, custom_headers=None, raw=False, **operation_config):
- """
- Get boolean array value [1.0, 'number', 0.0]
+ """Get boolean array value [1.0, 'number', 0.0].
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside the
@@ -1083,8 +1059,7 @@ def get_double_invalid_string(
def get_string_valid(
self, custom_headers=None, raw=False, **operation_config):
- """
- Get string array value ['foo1', 'foo2', 'foo3']
+ """Get string array value ['foo1', 'foo2', 'foo3'].
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside the
@@ -1127,8 +1102,7 @@ def get_string_valid(
def put_string_valid(
self, array_body, custom_headers=None, raw=False, **operation_config):
- """
- Set array value ['foo1', 'foo2', 'foo3']
+ """Set array value ['foo1', 'foo2', 'foo3'].
:param array_body:
:type array_body: list of str
@@ -1170,8 +1144,7 @@ def put_string_valid(
def get_string_with_null(
self, custom_headers=None, raw=False, **operation_config):
- """
- Get string array value ['foo', null, 'foo2']
+ """Get string array value ['foo', null, 'foo2'].
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside the
@@ -1214,8 +1187,7 @@ def get_string_with_null(
def get_string_with_invalid(
self, custom_headers=None, raw=False, **operation_config):
- """
- Get string array value ['foo', 123, 'foo2']
+ """Get string array value ['foo', 123, 'foo2'].
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside the
@@ -1258,10 +1230,9 @@ def get_string_with_invalid(
def get_uuid_valid(
self, custom_headers=None, raw=False, **operation_config):
- """
- Get uuid array value ['6dcc7237-45fe-45c4-8a6b-3a8a3f625652',
+ """Get uuid array value ['6dcc7237-45fe-45c4-8a6b-3a8a3f625652',
'd1399005-30f7-40d6-8da6-dd7c89ad34db',
- 'f42f6aa1-a5bc-4ddf-907e-5f915de43205']
+ 'f42f6aa1-a5bc-4ddf-907e-5f915de43205'].
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside the
@@ -1304,10 +1275,9 @@ def get_uuid_valid(
def put_uuid_valid(
self, array_body, custom_headers=None, raw=False, **operation_config):
- """
- Set array value ['6dcc7237-45fe-45c4-8a6b-3a8a3f625652',
+ """Set array value ['6dcc7237-45fe-45c4-8a6b-3a8a3f625652',
'd1399005-30f7-40d6-8da6-dd7c89ad34db',
- 'f42f6aa1-a5bc-4ddf-907e-5f915de43205']
+ 'f42f6aa1-a5bc-4ddf-907e-5f915de43205'].
:param array_body:
:type array_body: list of str
@@ -1349,8 +1319,7 @@ def put_uuid_valid(
def get_uuid_invalid_chars(
self, custom_headers=None, raw=False, **operation_config):
- """
- Get uuid array value ['6dcc7237-45fe-45c4-8a6b-3a8a3f625652', 'foo']
+ """Get uuid array value ['6dcc7237-45fe-45c4-8a6b-3a8a3f625652', 'foo'].
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside the
@@ -1393,8 +1362,7 @@ def get_uuid_invalid_chars(
def get_date_valid(
self, custom_headers=None, raw=False, **operation_config):
- """
- Get integer array value ['2000-12-01', '1980-01-02', '1492-10-12']
+ """Get integer array value ['2000-12-01', '1980-01-02', '1492-10-12'].
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside the
@@ -1437,8 +1405,7 @@ def get_date_valid(
def put_date_valid(
self, array_body, custom_headers=None, raw=False, **operation_config):
- """
- Set array value ['2000-12-01', '1980-01-02', '1492-10-12']
+ """Set array value ['2000-12-01', '1980-01-02', '1492-10-12'].
:param array_body:
:type array_body: list of date
@@ -1480,8 +1447,7 @@ def put_date_valid(
def get_date_invalid_null(
self, custom_headers=None, raw=False, **operation_config):
- """
- Get date array value ['2012-01-01', null, '1776-07-04']
+ """Get date array value ['2012-01-01', null, '1776-07-04'].
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside the
@@ -1524,8 +1490,7 @@ def get_date_invalid_null(
def get_date_invalid_chars(
self, custom_headers=None, raw=False, **operation_config):
- """
- Get date array value ['2011-03-22', 'date']
+ """Get date array value ['2011-03-22', 'date'].
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside the
@@ -1568,9 +1533,8 @@ def get_date_invalid_chars(
def get_date_time_valid(
self, custom_headers=None, raw=False, **operation_config):
- """
- Get date-time array value ['2000-12-01t00:00:01z',
- '1980-01-02T00:11:35+01:00', '1492-10-12T10:15:01-08:00']
+ """Get date-time array value ['2000-12-01t00:00:01z',
+ '1980-01-02T00:11:35+01:00', '1492-10-12T10:15:01-08:00'].
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside the
@@ -1613,9 +1577,8 @@ def get_date_time_valid(
def put_date_time_valid(
self, array_body, custom_headers=None, raw=False, **operation_config):
- """
- Set array value ['2000-12-01t00:00:01z', '1980-01-02T00:11:35+01:00',
- '1492-10-12T10:15:01-08:00']
+ """Set array value ['2000-12-01t00:00:01z', '1980-01-02T00:11:35+01:00',
+ '1492-10-12T10:15:01-08:00'].
:param array_body:
:type array_body: list of datetime
@@ -1657,8 +1620,7 @@ def put_date_time_valid(
def get_date_time_invalid_null(
self, custom_headers=None, raw=False, **operation_config):
- """
- Get date array value ['2000-12-01t00:00:01z', null]
+ """Get date array value ['2000-12-01t00:00:01z', null].
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside the
@@ -1701,8 +1663,7 @@ def get_date_time_invalid_null(
def get_date_time_invalid_chars(
self, custom_headers=None, raw=False, **operation_config):
- """
- Get date array value ['2000-12-01t00:00:01z', 'date-time']
+ """Get date array value ['2000-12-01t00:00:01z', 'date-time'].
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside the
@@ -1745,9 +1706,8 @@ def get_date_time_invalid_chars(
def get_date_time_rfc1123_valid(
self, custom_headers=None, raw=False, **operation_config):
- """
- Get date-time array value ['Fri, 01 Dec 2000 00:00:01 GMT', 'Wed, 02
- Jan 1980 00:11:35 GMT', 'Wed, 12 Oct 1492 10:15:01 GMT']
+ """Get date-time array value ['Fri, 01 Dec 2000 00:00:01 GMT', 'Wed, 02
+ Jan 1980 00:11:35 GMT', 'Wed, 12 Oct 1492 10:15:01 GMT'].
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside the
@@ -1790,9 +1750,8 @@ def get_date_time_rfc1123_valid(
def put_date_time_rfc1123_valid(
self, array_body, custom_headers=None, raw=False, **operation_config):
- """
- Set array value ['Fri, 01 Dec 2000 00:00:01 GMT', 'Wed, 02 Jan 1980
- 00:11:35 GMT', 'Wed, 12 Oct 1492 10:15:01 GMT']
+ """Set array value ['Fri, 01 Dec 2000 00:00:01 GMT', 'Wed, 02 Jan 1980
+ 00:11:35 GMT', 'Wed, 12 Oct 1492 10:15:01 GMT'].
:param array_body:
:type array_body: list of datetime
@@ -1834,8 +1793,7 @@ def put_date_time_rfc1123_valid(
def get_duration_valid(
self, custom_headers=None, raw=False, **operation_config):
- """
- Get duration array value ['P123DT22H14M12.011S', 'P5DT1H0M0S']
+ """Get duration array value ['P123DT22H14M12.011S', 'P5DT1H0M0S'].
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside the
@@ -1878,8 +1836,7 @@ def get_duration_valid(
def put_duration_valid(
self, array_body, custom_headers=None, raw=False, **operation_config):
- """
- Set array value ['P123DT22H14M12.011S', 'P5DT1H0M0S']
+ """Set array value ['P123DT22H14M12.011S', 'P5DT1H0M0S'].
:param array_body:
:type array_body: list of timedelta
@@ -1921,9 +1878,8 @@ def put_duration_valid(
def get_byte_valid(
self, custom_headers=None, raw=False, **operation_config):
- """
- Get byte array value [hex(FF FF FF FA), hex(01 02 03), hex (25, 29,
- 43)] with each item encoded in base64
+ """Get byte array value [hex(FF FF FF FA), hex(01 02 03), hex (25, 29,
+ 43)] with each item encoded in base64.
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside the
@@ -1966,9 +1922,8 @@ def get_byte_valid(
def put_byte_valid(
self, array_body, custom_headers=None, raw=False, **operation_config):
- """
- Put the array value [hex(FF FF FF FA), hex(01 02 03), hex (25, 29,
- 43)] with each elementencoded in base 64
+ """Put the array value [hex(FF FF FF FA), hex(01 02 03), hex (25, 29,
+ 43)] with each elementencoded in base 64.
:param array_body:
:type array_body: list of bytearray
@@ -2010,9 +1965,8 @@ def put_byte_valid(
def get_byte_invalid_null(
self, custom_headers=None, raw=False, **operation_config):
- """
- Get byte array value [hex(AB, AC, AD), null] with the first item
- base64 encoded
+ """Get byte array value [hex(AB, AC, AD), null] with the first item
+ base64 encoded.
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside the
@@ -2055,9 +2009,8 @@ def get_byte_invalid_null(
def get_base64_url(
self, custom_headers=None, raw=False, **operation_config):
- """
- Get array value ['a string that gets encoded with base64url', 'test
- string' 'Lorem ipsum'] with the items base64url encoded
+ """Get array value ['a string that gets encoded with base64url', 'test
+ string' 'Lorem ipsum'] with the items base64url encoded.
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside the
@@ -2100,8 +2053,7 @@ def get_base64_url(
def get_complex_null(
self, custom_headers=None, raw=False, **operation_config):
- """
- Get array of complex type null value
+ """Get array of complex type null value.
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside the
@@ -2145,8 +2097,7 @@ def get_complex_null(
def get_complex_empty(
self, custom_headers=None, raw=False, **operation_config):
- """
- Get empty array of complex type []
+ """Get empty array of complex type [].
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside the
@@ -2190,9 +2141,8 @@ def get_complex_empty(
def get_complex_item_null(
self, custom_headers=None, raw=False, **operation_config):
- """
- Get array of complex type with null item [{'integer': 1 'string':
- '2'}, null, {'integer': 5, 'string': '6'}]
+ """Get array of complex type with null item [{'integer': 1 'string':
+ '2'}, null, {'integer': 5, 'string': '6'}].
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside the
@@ -2236,9 +2186,8 @@ def get_complex_item_null(
def get_complex_item_empty(
self, custom_headers=None, raw=False, **operation_config):
- """
- Get array of complex type with empty item [{'integer': 1 'string':
- '2'}, {}, {'integer': 5, 'string': '6'}]
+ """Get array of complex type with empty item [{'integer': 1 'string':
+ '2'}, {}, {'integer': 5, 'string': '6'}].
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside the
@@ -2282,9 +2231,8 @@ def get_complex_item_empty(
def get_complex_valid(
self, custom_headers=None, raw=False, **operation_config):
- """
- Get array of complex type with [{'integer': 1 'string': '2'},
- {'integer': 3, 'string': '4'}, {'integer': 5, 'string': '6'}]
+ """Get array of complex type with [{'integer': 1 'string': '2'},
+ {'integer': 3, 'string': '4'}, {'integer': 5, 'string': '6'}].
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside the
@@ -2328,9 +2276,8 @@ def get_complex_valid(
def put_complex_valid(
self, array_body, custom_headers=None, raw=False, **operation_config):
- """
- Put an array of complex type with values [{'integer': 1 'string':
- '2'}, {'integer': 3, 'string': '4'}, {'integer': 5, 'string': '6'}]
+ """Put an array of complex type with values [{'integer': 1 'string':
+ '2'}, {'integer': 3, 'string': '4'}, {'integer': 5, 'string': '6'}].
:param array_body:
:type array_body: list of :class:`Product
@@ -2373,8 +2320,7 @@ def put_complex_valid(
def get_array_null(
self, custom_headers=None, raw=False, **operation_config):
- """
- Get a null array
+ """Get a null array.
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside the
@@ -2417,8 +2363,7 @@ def get_array_null(
def get_array_empty(
self, custom_headers=None, raw=False, **operation_config):
- """
- Get an empty array []
+ """Get an empty array [].
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside the
@@ -2461,9 +2406,8 @@ def get_array_empty(
def get_array_item_null(
self, custom_headers=None, raw=False, **operation_config):
- """
- Get an array of array of strings [['1', '2', '3'], null, ['7', '8',
- '9']]
+ """Get an array of array of strings [['1', '2', '3'], null, ['7', '8',
+ '9']].
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside the
@@ -2506,8 +2450,8 @@ def get_array_item_null(
def get_array_item_empty(
self, custom_headers=None, raw=False, **operation_config):
- """
- Get an array of array of strings [['1', '2', '3'], [], ['7', '8', '9']]
+ """Get an array of array of strings [['1', '2', '3'], [], ['7', '8',
+ '9']].
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside the
@@ -2550,9 +2494,8 @@ def get_array_item_empty(
def get_array_valid(
self, custom_headers=None, raw=False, **operation_config):
- """
- Get an array of array of strings [['1', '2', '3'], ['4', '5', '6'],
- ['7', '8', '9']]
+ """Get an array of array of strings [['1', '2', '3'], ['4', '5', '6'],
+ ['7', '8', '9']].
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside the
@@ -2595,9 +2538,8 @@ def get_array_valid(
def put_array_valid(
self, array_body, custom_headers=None, raw=False, **operation_config):
- """
- Put An array of array of strings [['1', '2', '3'], ['4', '5', '6'],
- ['7', '8', '9']]
+ """Put An array of array of strings [['1', '2', '3'], ['4', '5', '6'],
+ ['7', '8', '9']].
:param array_body:
:type array_body: list of list of str
@@ -2639,8 +2581,7 @@ def put_array_valid(
def get_dictionary_null(
self, custom_headers=None, raw=False, **operation_config):
- """
- Get an array of Dictionaries with value null
+ """Get an array of Dictionaries with value null.
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside the
@@ -2683,8 +2624,7 @@ def get_dictionary_null(
def get_dictionary_empty(
self, custom_headers=None, raw=False, **operation_config):
- """
- Get an array of Dictionaries of type with value []
+ """Get an array of Dictionaries of type with value [].
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside the
@@ -2727,10 +2667,9 @@ def get_dictionary_empty(
def get_dictionary_item_null(
self, custom_headers=None, raw=False, **operation_config):
- """
- Get an array of Dictionaries of type with value
+ """Get an array of Dictionaries of type with value
[{'1': 'one', '2': 'two', '3': 'three'}, null, {'7': 'seven', '8':
- 'eight', '9': 'nine'}]
+ 'eight', '9': 'nine'}].
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside the
@@ -2773,10 +2712,9 @@ def get_dictionary_item_null(
def get_dictionary_item_empty(
self, custom_headers=None, raw=False, **operation_config):
- """
- Get an array of Dictionaries of type with value
+ """Get an array of Dictionaries of type with value
[{'1': 'one', '2': 'two', '3': 'three'}, {}, {'7': 'seven', '8':
- 'eight', '9': 'nine'}]
+ 'eight', '9': 'nine'}].
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside the
@@ -2819,10 +2757,9 @@ def get_dictionary_item_empty(
def get_dictionary_valid(
self, custom_headers=None, raw=False, **operation_config):
- """
- Get an array of Dictionaries of type with value
+ """Get an array of Dictionaries of type with value
[{'1': 'one', '2': 'two', '3': 'three'}, {'4': 'four', '5': 'five',
- '6': 'six'}, {'7': 'seven', '8': 'eight', '9': 'nine'}]
+ '6': 'six'}, {'7': 'seven', '8': 'eight', '9': 'nine'}].
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside the
@@ -2865,10 +2802,9 @@ def get_dictionary_valid(
def put_dictionary_valid(
self, array_body, custom_headers=None, raw=False, **operation_config):
- """
- Get an array of Dictionaries of type with value
+ """Get an array of Dictionaries of type with value
[{'1': 'one', '2': 'two', '3': 'three'}, {'4': 'four', '5': 'five',
- '6': 'six'}, {'7': 'seven', '8': 'eight', '9': 'nine'}]
+ '6': 'six'}, {'7': 'seven', '8': 'eight', '9': 'nine'}].
:param array_body:
:type array_body: list of dict
diff --git a/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/BodyBoolean/autorestbooltestservice/models/error.py b/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/BodyBoolean/autorestbooltestservice/models/error.py
index c2d19e377e..eb6c5cdea9 100644
--- a/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/BodyBoolean/autorestbooltestservice/models/error.py
+++ b/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/BodyBoolean/autorestbooltestservice/models/error.py
@@ -14,7 +14,7 @@
class Error(Model):
- """Error
+ """Error.
:param status:
:type status: int
diff --git a/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/BodyBoolean/autorestbooltestservice/operations/bool_model.py b/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/BodyBoolean/autorestbooltestservice/operations/bool_model.py
index 7476481a89..999999347c 100644
--- a/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/BodyBoolean/autorestbooltestservice/operations/bool_model.py
+++ b/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/BodyBoolean/autorestbooltestservice/operations/bool_model.py
@@ -33,8 +33,7 @@ def __init__(self, client, config, serializer, deserializer):
def get_true(
self, custom_headers=None, raw=False, **operation_config):
- """
- Get true Boolean value
+ """Get true Boolean value.
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside the
@@ -77,8 +76,7 @@ def get_true(
def put_true(
self, bool_body, custom_headers=None, raw=False, **operation_config):
- """
- Set Boolean value true
+ """Set Boolean value true.
:param bool_body:
:type bool_body: bool
@@ -120,8 +118,7 @@ def put_true(
def get_false(
self, custom_headers=None, raw=False, **operation_config):
- """
- Get false Boolean value
+ """Get false Boolean value.
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside the
@@ -164,8 +161,7 @@ def get_false(
def put_false(
self, bool_body, custom_headers=None, raw=False, **operation_config):
- """
- Set Boolean value false
+ """Set Boolean value false.
:param bool_body:
:type bool_body: bool
@@ -207,8 +203,7 @@ def put_false(
def get_null(
self, custom_headers=None, raw=False, **operation_config):
- """
- Get null Boolean value
+ """Get null Boolean value.
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside the
@@ -251,8 +246,7 @@ def get_null(
def get_invalid(
self, custom_headers=None, raw=False, **operation_config):
- """
- Get invalid Boolean value
+ """Get invalid Boolean value.
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside the
diff --git a/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/BodyByte/autorestswaggerbatbyteservice/models/error.py b/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/BodyByte/autorestswaggerbatbyteservice/models/error.py
index c2d19e377e..eb6c5cdea9 100644
--- a/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/BodyByte/autorestswaggerbatbyteservice/models/error.py
+++ b/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/BodyByte/autorestswaggerbatbyteservice/models/error.py
@@ -14,7 +14,7 @@
class Error(Model):
- """Error
+ """Error.
:param status:
:type status: int
diff --git a/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/BodyByte/autorestswaggerbatbyteservice/operations/byte.py b/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/BodyByte/autorestswaggerbatbyteservice/operations/byte.py
index 4c61611729..4a4734bb27 100644
--- a/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/BodyByte/autorestswaggerbatbyteservice/operations/byte.py
+++ b/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/BodyByte/autorestswaggerbatbyteservice/operations/byte.py
@@ -33,8 +33,7 @@ def __init__(self, client, config, serializer, deserializer):
def get_null(
self, custom_headers=None, raw=False, **operation_config):
- """
- Get null byte value
+ """Get null byte value.
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside the
@@ -77,8 +76,7 @@ def get_null(
def get_empty(
self, custom_headers=None, raw=False, **operation_config):
- """
- Get empty byte value ''
+ """Get empty byte value ''.
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside the
@@ -121,8 +119,7 @@ def get_empty(
def get_non_ascii(
self, custom_headers=None, raw=False, **operation_config):
- """
- Get non-ascii byte string hex(FF FE FD FC FB FA F9 F8 F7 F6)
+ """Get non-ascii byte string hex(FF FE FD FC FB FA F9 F8 F7 F6).
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside the
@@ -165,8 +162,7 @@ def get_non_ascii(
def put_non_ascii(
self, byte_body, custom_headers=None, raw=False, **operation_config):
- """
- Put non-ascii byte string hex(FF FE FD FC FB FA F9 F8 F7 F6)
+ """Put non-ascii byte string hex(FF FE FD FC FB FA F9 F8 F7 F6).
:param byte_body: Base64-encoded non-ascii byte string hex(FF FE FD
FC FB FA F9 F8 F7 F6)
@@ -209,8 +205,7 @@ def put_non_ascii(
def get_invalid(
self, custom_headers=None, raw=False, **operation_config):
- """
- Get invalid byte value ':::SWAGGER::::'
+ """Get invalid byte value ':::SWAGGER::::'.
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside the
diff --git a/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/BodyComplex/autorestcomplextestservice/models/array_wrapper.py b/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/BodyComplex/autorestcomplextestservice/models/array_wrapper.py
index df8448a8fb..53f1539f21 100644
--- a/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/BodyComplex/autorestcomplextestservice/models/array_wrapper.py
+++ b/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/BodyComplex/autorestcomplextestservice/models/array_wrapper.py
@@ -13,7 +13,7 @@
class ArrayWrapper(Model):
- """ArrayWrapper
+ """ArrayWrapper.
:param array:
:type array: list of str
diff --git a/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/BodyComplex/autorestcomplextestservice/models/basic.py b/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/BodyComplex/autorestcomplextestservice/models/basic.py
index e42e7e46cc..b318cb1f7d 100644
--- a/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/BodyComplex/autorestcomplextestservice/models/basic.py
+++ b/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/BodyComplex/autorestcomplextestservice/models/basic.py
@@ -13,7 +13,7 @@
class Basic(Model):
- """Basic
+ """Basic.
:param id:
:type id: int
diff --git a/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/BodyComplex/autorestcomplextestservice/models/boolean_wrapper.py b/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/BodyComplex/autorestcomplextestservice/models/boolean_wrapper.py
index abe1f9cb4e..8e3dfe4e19 100644
--- a/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/BodyComplex/autorestcomplextestservice/models/boolean_wrapper.py
+++ b/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/BodyComplex/autorestcomplextestservice/models/boolean_wrapper.py
@@ -13,7 +13,7 @@
class BooleanWrapper(Model):
- """BooleanWrapper
+ """BooleanWrapper.
:param field_true:
:type field_true: bool
diff --git a/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/BodyComplex/autorestcomplextestservice/models/byte_wrapper.py b/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/BodyComplex/autorestcomplextestservice/models/byte_wrapper.py
index 56711e83f0..09d14033f5 100644
--- a/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/BodyComplex/autorestcomplextestservice/models/byte_wrapper.py
+++ b/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/BodyComplex/autorestcomplextestservice/models/byte_wrapper.py
@@ -13,7 +13,7 @@
class ByteWrapper(Model):
- """ByteWrapper
+ """ByteWrapper.
:param field:
:type field: bytearray
diff --git a/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/BodyComplex/autorestcomplextestservice/models/cat.py b/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/BodyComplex/autorestcomplextestservice/models/cat.py
index 15ec946bab..70168d4256 100644
--- a/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/BodyComplex/autorestcomplextestservice/models/cat.py
+++ b/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/BodyComplex/autorestcomplextestservice/models/cat.py
@@ -13,7 +13,7 @@
class Cat(Pet):
- """Cat
+ """Cat.
:param id:
:type id: int
diff --git a/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/BodyComplex/autorestcomplextestservice/models/cookiecuttershark.py b/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/BodyComplex/autorestcomplextestservice/models/cookiecuttershark.py
index 835f078e28..5189aeaf2c 100644
--- a/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/BodyComplex/autorestcomplextestservice/models/cookiecuttershark.py
+++ b/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/BodyComplex/autorestcomplextestservice/models/cookiecuttershark.py
@@ -13,7 +13,7 @@
class Cookiecuttershark(Shark):
- """Cookiecuttershark
+ """Cookiecuttershark.
:param species:
:type species: str
diff --git a/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/BodyComplex/autorestcomplextestservice/models/date_wrapper.py b/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/BodyComplex/autorestcomplextestservice/models/date_wrapper.py
index d876dc6e73..ef1041799d 100644
--- a/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/BodyComplex/autorestcomplextestservice/models/date_wrapper.py
+++ b/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/BodyComplex/autorestcomplextestservice/models/date_wrapper.py
@@ -13,7 +13,7 @@
class DateWrapper(Model):
- """DateWrapper
+ """DateWrapper.
:param field:
:type field: date
diff --git a/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/BodyComplex/autorestcomplextestservice/models/datetime_wrapper.py b/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/BodyComplex/autorestcomplextestservice/models/datetime_wrapper.py
index c768499e01..76d81eac47 100644
--- a/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/BodyComplex/autorestcomplextestservice/models/datetime_wrapper.py
+++ b/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/BodyComplex/autorestcomplextestservice/models/datetime_wrapper.py
@@ -13,7 +13,7 @@
class DatetimeWrapper(Model):
- """DatetimeWrapper
+ """DatetimeWrapper.
:param field:
:type field: datetime
diff --git a/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/BodyComplex/autorestcomplextestservice/models/datetimerfc1123_wrapper.py b/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/BodyComplex/autorestcomplextestservice/models/datetimerfc1123_wrapper.py
index a0279c5425..bd5f589093 100644
--- a/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/BodyComplex/autorestcomplextestservice/models/datetimerfc1123_wrapper.py
+++ b/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/BodyComplex/autorestcomplextestservice/models/datetimerfc1123_wrapper.py
@@ -13,7 +13,7 @@
class Datetimerfc1123Wrapper(Model):
- """Datetimerfc1123Wrapper
+ """Datetimerfc1123Wrapper.
:param field:
:type field: datetime
diff --git a/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/BodyComplex/autorestcomplextestservice/models/dictionary_wrapper.py b/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/BodyComplex/autorestcomplextestservice/models/dictionary_wrapper.py
index 999fec60f3..fe9ae341a3 100644
--- a/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/BodyComplex/autorestcomplextestservice/models/dictionary_wrapper.py
+++ b/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/BodyComplex/autorestcomplextestservice/models/dictionary_wrapper.py
@@ -13,7 +13,7 @@
class DictionaryWrapper(Model):
- """DictionaryWrapper
+ """DictionaryWrapper.
:param default_program:
:type default_program: dict
diff --git a/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/BodyComplex/autorestcomplextestservice/models/dog.py b/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/BodyComplex/autorestcomplextestservice/models/dog.py
index 420352f5b0..a9e7831723 100644
--- a/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/BodyComplex/autorestcomplextestservice/models/dog.py
+++ b/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/BodyComplex/autorestcomplextestservice/models/dog.py
@@ -13,7 +13,7 @@
class Dog(Pet):
- """Dog
+ """Dog.
:param id:
:type id: int
diff --git a/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/BodyComplex/autorestcomplextestservice/models/double_wrapper.py b/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/BodyComplex/autorestcomplextestservice/models/double_wrapper.py
index 63f46bd155..05dbb3df38 100644
--- a/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/BodyComplex/autorestcomplextestservice/models/double_wrapper.py
+++ b/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/BodyComplex/autorestcomplextestservice/models/double_wrapper.py
@@ -13,7 +13,7 @@
class DoubleWrapper(Model):
- """DoubleWrapper
+ """DoubleWrapper.
:param field1:
:type field1: float
diff --git a/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/BodyComplex/autorestcomplextestservice/models/duration_wrapper.py b/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/BodyComplex/autorestcomplextestservice/models/duration_wrapper.py
index 04cfa5a36c..09bd5750f5 100644
--- a/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/BodyComplex/autorestcomplextestservice/models/duration_wrapper.py
+++ b/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/BodyComplex/autorestcomplextestservice/models/duration_wrapper.py
@@ -13,7 +13,7 @@
class DurationWrapper(Model):
- """DurationWrapper
+ """DurationWrapper.
:param field:
:type field: timedelta
diff --git a/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/BodyComplex/autorestcomplextestservice/models/error.py b/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/BodyComplex/autorestcomplextestservice/models/error.py
index c2d19e377e..eb6c5cdea9 100644
--- a/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/BodyComplex/autorestcomplextestservice/models/error.py
+++ b/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/BodyComplex/autorestcomplextestservice/models/error.py
@@ -14,7 +14,7 @@
class Error(Model):
- """Error
+ """Error.
:param status:
:type status: int
diff --git a/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/BodyComplex/autorestcomplextestservice/models/fish.py b/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/BodyComplex/autorestcomplextestservice/models/fish.py
index fb83f8e3fa..aaa20f6690 100644
--- a/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/BodyComplex/autorestcomplextestservice/models/fish.py
+++ b/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/BodyComplex/autorestcomplextestservice/models/fish.py
@@ -13,7 +13,7 @@
class Fish(Model):
- """Fish
+ """Fish.
:param species:
:type species: str
diff --git a/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/BodyComplex/autorestcomplextestservice/models/float_wrapper.py b/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/BodyComplex/autorestcomplextestservice/models/float_wrapper.py
index 098ff503ef..c121556d56 100644
--- a/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/BodyComplex/autorestcomplextestservice/models/float_wrapper.py
+++ b/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/BodyComplex/autorestcomplextestservice/models/float_wrapper.py
@@ -13,7 +13,7 @@
class FloatWrapper(Model):
- """FloatWrapper
+ """FloatWrapper.
:param field1:
:type field1: float
diff --git a/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/BodyComplex/autorestcomplextestservice/models/goblinshark.py b/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/BodyComplex/autorestcomplextestservice/models/goblinshark.py
index a119ee4d6e..f91d87c0ce 100644
--- a/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/BodyComplex/autorestcomplextestservice/models/goblinshark.py
+++ b/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/BodyComplex/autorestcomplextestservice/models/goblinshark.py
@@ -13,7 +13,7 @@
class Goblinshark(Shark):
- """Goblinshark
+ """Goblinshark.
:param species:
:type species: str
diff --git a/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/BodyComplex/autorestcomplextestservice/models/int_wrapper.py b/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/BodyComplex/autorestcomplextestservice/models/int_wrapper.py
index 92136de644..88464c1b27 100644
--- a/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/BodyComplex/autorestcomplextestservice/models/int_wrapper.py
+++ b/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/BodyComplex/autorestcomplextestservice/models/int_wrapper.py
@@ -13,7 +13,7 @@
class IntWrapper(Model):
- """IntWrapper
+ """IntWrapper.
:param field1:
:type field1: int
diff --git a/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/BodyComplex/autorestcomplextestservice/models/long_wrapper.py b/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/BodyComplex/autorestcomplextestservice/models/long_wrapper.py
index 70a8c78b56..cdbfbccb38 100644
--- a/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/BodyComplex/autorestcomplextestservice/models/long_wrapper.py
+++ b/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/BodyComplex/autorestcomplextestservice/models/long_wrapper.py
@@ -13,7 +13,7 @@
class LongWrapper(Model):
- """LongWrapper
+ """LongWrapper.
:param field1:
:type field1: long
diff --git a/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/BodyComplex/autorestcomplextestservice/models/pet.py b/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/BodyComplex/autorestcomplextestservice/models/pet.py
index ae794dc5f6..1d253aad6e 100644
--- a/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/BodyComplex/autorestcomplextestservice/models/pet.py
+++ b/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/BodyComplex/autorestcomplextestservice/models/pet.py
@@ -13,7 +13,7 @@
class Pet(Model):
- """Pet
+ """Pet.
:param id:
:type id: int
diff --git a/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/BodyComplex/autorestcomplextestservice/models/readonly_obj.py b/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/BodyComplex/autorestcomplextestservice/models/readonly_obj.py
index 109d15efbe..9b924757f5 100644
--- a/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/BodyComplex/autorestcomplextestservice/models/readonly_obj.py
+++ b/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/BodyComplex/autorestcomplextestservice/models/readonly_obj.py
@@ -13,7 +13,7 @@
class ReadonlyObj(Model):
- """ReadonlyObj
+ """ReadonlyObj.
Variables are only populated by the server, and will be ignored when
sending a request.
diff --git a/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/BodyComplex/autorestcomplextestservice/models/salmon.py b/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/BodyComplex/autorestcomplextestservice/models/salmon.py
index ca9ac00e67..870320cabd 100644
--- a/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/BodyComplex/autorestcomplextestservice/models/salmon.py
+++ b/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/BodyComplex/autorestcomplextestservice/models/salmon.py
@@ -13,7 +13,7 @@
class Salmon(Fish):
- """Salmon
+ """Salmon.
:param species:
:type species: str
diff --git a/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/BodyComplex/autorestcomplextestservice/models/sawshark.py b/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/BodyComplex/autorestcomplextestservice/models/sawshark.py
index eb5f018fd7..b10e4a24eb 100644
--- a/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/BodyComplex/autorestcomplextestservice/models/sawshark.py
+++ b/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/BodyComplex/autorestcomplextestservice/models/sawshark.py
@@ -13,7 +13,7 @@
class Sawshark(Shark):
- """Sawshark
+ """Sawshark.
:param species:
:type species: str
diff --git a/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/BodyComplex/autorestcomplextestservice/models/shark.py b/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/BodyComplex/autorestcomplextestservice/models/shark.py
index 18d4187ebe..96010dceca 100644
--- a/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/BodyComplex/autorestcomplextestservice/models/shark.py
+++ b/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/BodyComplex/autorestcomplextestservice/models/shark.py
@@ -13,7 +13,7 @@
class Shark(Fish):
- """Shark
+ """Shark.
:param species:
:type species: str
diff --git a/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/BodyComplex/autorestcomplextestservice/models/siamese.py b/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/BodyComplex/autorestcomplextestservice/models/siamese.py
index ad83ab4771..0512b06d6c 100644
--- a/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/BodyComplex/autorestcomplextestservice/models/siamese.py
+++ b/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/BodyComplex/autorestcomplextestservice/models/siamese.py
@@ -13,7 +13,7 @@
class Siamese(Cat):
- """Siamese
+ """Siamese.
:param id:
:type id: int
diff --git a/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/BodyComplex/autorestcomplextestservice/models/string_wrapper.py b/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/BodyComplex/autorestcomplextestservice/models/string_wrapper.py
index a01f361cdb..9757ab5659 100644
--- a/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/BodyComplex/autorestcomplextestservice/models/string_wrapper.py
+++ b/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/BodyComplex/autorestcomplextestservice/models/string_wrapper.py
@@ -13,7 +13,7 @@
class StringWrapper(Model):
- """StringWrapper
+ """StringWrapper.
:param field:
:type field: str
diff --git a/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/BodyComplex/autorestcomplextestservice/operations/array.py b/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/BodyComplex/autorestcomplextestservice/operations/array.py
index 3fb6eec8be..53cb74829f 100644
--- a/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/BodyComplex/autorestcomplextestservice/operations/array.py
+++ b/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/BodyComplex/autorestcomplextestservice/operations/array.py
@@ -33,8 +33,7 @@ def __init__(self, client, config, serializer, deserializer):
def get_valid(
self, custom_headers=None, raw=False, **operation_config):
- """
- Get complex types with array property
+ """Get complex types with array property.
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside the
@@ -78,8 +77,7 @@ def get_valid(
def put_valid(
self, array=None, custom_headers=None, raw=False, **operation_config):
- """
- Put complex types with array property
+ """Put complex types with array property.
:param array:
:type array: list of str
@@ -123,8 +121,7 @@ def put_valid(
def get_empty(
self, custom_headers=None, raw=False, **operation_config):
- """
- Get complex types with array property which is empty
+ """Get complex types with array property which is empty.
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside the
@@ -168,8 +165,7 @@ def get_empty(
def put_empty(
self, array=None, custom_headers=None, raw=False, **operation_config):
- """
- Put complex types with array property which is empty
+ """Put complex types with array property which is empty.
:param array:
:type array: list of str
@@ -213,9 +209,8 @@ def put_empty(
def get_not_provided(
self, custom_headers=None, raw=False, **operation_config):
- """
- Get complex types with array property while server doesn't provide a
- response payload
+ """Get complex types with array property while server doesn't provide a
+ response payload.
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside the
diff --git a/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/BodyComplex/autorestcomplextestservice/operations/basic_operations.py b/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/BodyComplex/autorestcomplextestservice/operations/basic_operations.py
index d66a86b411..c77ee74a4f 100644
--- a/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/BodyComplex/autorestcomplextestservice/operations/basic_operations.py
+++ b/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/BodyComplex/autorestcomplextestservice/operations/basic_operations.py
@@ -33,8 +33,7 @@ def __init__(self, client, config, serializer, deserializer):
def get_valid(
self, custom_headers=None, raw=False, **operation_config):
- """
- Get complex type {id: 2, name: 'abc', color: 'YELLOW'}
+ """Get complex type {id: 2, name: 'abc', color: 'YELLOW'}.
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside the
@@ -78,8 +77,7 @@ def get_valid(
def put_valid(
self, complex_body, custom_headers=None, raw=False, **operation_config):
- """
- Please put {id: 2, name: 'abc', color: 'Magenta'}
+ """Please put {id: 2, name: 'abc', color: 'Magenta'}.
:param complex_body: Please put {id: 2, name: 'abc', color: 'Magenta'}
:type complex_body: :class:`Basic
@@ -123,8 +121,7 @@ def put_valid(
def get_invalid(
self, custom_headers=None, raw=False, **operation_config):
- """
- Get a basic complex type that is invalid for the local strong type
+ """Get a basic complex type that is invalid for the local strong type.
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside the
@@ -168,8 +165,7 @@ def get_invalid(
def get_empty(
self, custom_headers=None, raw=False, **operation_config):
- """
- Get a basic complex type that is empty
+ """Get a basic complex type that is empty.
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside the
@@ -213,8 +209,7 @@ def get_empty(
def get_null(
self, custom_headers=None, raw=False, **operation_config):
- """
- Get a basic complex type whose properties are null
+ """Get a basic complex type whose properties are null.
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside the
@@ -258,9 +253,8 @@ def get_null(
def get_not_provided(
self, custom_headers=None, raw=False, **operation_config):
- """
- Get a basic complex type while the server doesn't provide a response
- payload
+ """Get a basic complex type while the server doesn't provide a response
+ payload.
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside the
diff --git a/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/BodyComplex/autorestcomplextestservice/operations/dictionary.py b/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/BodyComplex/autorestcomplextestservice/operations/dictionary.py
index cc07b65e49..1f822cf5bf 100644
--- a/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/BodyComplex/autorestcomplextestservice/operations/dictionary.py
+++ b/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/BodyComplex/autorestcomplextestservice/operations/dictionary.py
@@ -33,8 +33,7 @@ def __init__(self, client, config, serializer, deserializer):
def get_valid(
self, custom_headers=None, raw=False, **operation_config):
- """
- Get complex types with dictionary property
+ """Get complex types with dictionary property.
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside the
@@ -78,8 +77,7 @@ def get_valid(
def put_valid(
self, default_program=None, custom_headers=None, raw=False, **operation_config):
- """
- Put complex types with dictionary property
+ """Put complex types with dictionary property.
:param default_program:
:type default_program: dict
@@ -123,8 +121,7 @@ def put_valid(
def get_empty(
self, custom_headers=None, raw=False, **operation_config):
- """
- Get complex types with dictionary property which is empty
+ """Get complex types with dictionary property which is empty.
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside the
@@ -168,8 +165,7 @@ def get_empty(
def put_empty(
self, default_program=None, custom_headers=None, raw=False, **operation_config):
- """
- Put complex types with dictionary property which is empty
+ """Put complex types with dictionary property which is empty.
:param default_program:
:type default_program: dict
@@ -213,8 +209,7 @@ def put_empty(
def get_null(
self, custom_headers=None, raw=False, **operation_config):
- """
- Get complex types with dictionary property which is null
+ """Get complex types with dictionary property which is null.
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside the
@@ -258,9 +253,8 @@ def get_null(
def get_not_provided(
self, custom_headers=None, raw=False, **operation_config):
- """
- Get complex types with dictionary property while server doesn't
- provide a response payload
+ """Get complex types with dictionary property while server doesn't
+ provide a response payload.
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside the
diff --git a/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/BodyComplex/autorestcomplextestservice/operations/inheritance.py b/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/BodyComplex/autorestcomplextestservice/operations/inheritance.py
index 37bf308be2..183eb0bbc5 100644
--- a/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/BodyComplex/autorestcomplextestservice/operations/inheritance.py
+++ b/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/BodyComplex/autorestcomplextestservice/operations/inheritance.py
@@ -33,8 +33,7 @@ def __init__(self, client, config, serializer, deserializer):
def get_valid(
self, custom_headers=None, raw=False, **operation_config):
- """
- Get complex types that extend others
+ """Get complex types that extend others.
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside the
@@ -78,8 +77,7 @@ def get_valid(
def put_valid(
self, complex_body, custom_headers=None, raw=False, **operation_config):
- """
- Put complex types that extend others
+ """Put complex types that extend others.
:param complex_body: Please put a siamese with id=2, name="Siameee",
color=green, breed=persion, which hates 2 dogs, the 1st one named
diff --git a/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/BodyComplex/autorestcomplextestservice/operations/polymorphicrecursive.py b/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/BodyComplex/autorestcomplextestservice/operations/polymorphicrecursive.py
index 451955b6fe..b2194416a0 100644
--- a/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/BodyComplex/autorestcomplextestservice/operations/polymorphicrecursive.py
+++ b/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/BodyComplex/autorestcomplextestservice/operations/polymorphicrecursive.py
@@ -33,8 +33,7 @@ def __init__(self, client, config, serializer, deserializer):
def get_valid(
self, custom_headers=None, raw=False, **operation_config):
- """
- Get complex types that are polymorphic and have recursive references
+ """Get complex types that are polymorphic and have recursive references.
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside the
@@ -78,8 +77,7 @@ def get_valid(
def put_valid(
self, complex_body, custom_headers=None, raw=False, **operation_config):
- """
- Put complex types that are polymorphic and have recursive references
+ """Put complex types that are polymorphic and have recursive references.
:param complex_body: Please put a salmon that looks like this:
{
diff --git a/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/BodyComplex/autorestcomplextestservice/operations/polymorphism.py b/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/BodyComplex/autorestcomplextestservice/operations/polymorphism.py
index e85c471abf..e240b994c8 100644
--- a/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/BodyComplex/autorestcomplextestservice/operations/polymorphism.py
+++ b/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/BodyComplex/autorestcomplextestservice/operations/polymorphism.py
@@ -33,8 +33,7 @@ def __init__(self, client, config, serializer, deserializer):
def get_valid(
self, custom_headers=None, raw=False, **operation_config):
- """
- Get complex types that are polymorphic
+ """Get complex types that are polymorphic.
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside the
@@ -78,8 +77,7 @@ def get_valid(
def put_valid(
self, complex_body, custom_headers=None, raw=False, **operation_config):
- """
- Put complex types that are polymorphic
+ """Put complex types that are polymorphic.
:param complex_body: Please put a salmon that looks like this:
{
@@ -155,9 +153,8 @@ def put_valid(
def put_valid_missing_required(
self, complex_body, custom_headers=None, raw=False, **operation_config):
- """
- Put complex types that are polymorphic, attempting to omit required
- 'birthday' field - the request should not be allowed from the client
+ """Put complex types that are polymorphic, attempting to omit required
+ 'birthday' field - the request should not be allowed from the client.
:param complex_body: Please attempt put a sawshark that looks like
this, the client should not allow this data to be sent:
diff --git a/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/BodyComplex/autorestcomplextestservice/operations/primitive.py b/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/BodyComplex/autorestcomplextestservice/operations/primitive.py
index ca9e56f8d0..5b035c3b5c 100644
--- a/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/BodyComplex/autorestcomplextestservice/operations/primitive.py
+++ b/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/BodyComplex/autorestcomplextestservice/operations/primitive.py
@@ -33,8 +33,7 @@ def __init__(self, client, config, serializer, deserializer):
def get_int(
self, custom_headers=None, raw=False, **operation_config):
- """
- Get complex types with integer properties
+ """Get complex types with integer properties.
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside the
@@ -78,8 +77,7 @@ def get_int(
def put_int(
self, complex_body, custom_headers=None, raw=False, **operation_config):
- """
- Put complex types with integer properties
+ """Put complex types with integer properties.
:param complex_body: Please put -1 and 2
:type complex_body: :class:`IntWrapper
@@ -122,8 +120,7 @@ def put_int(
def get_long(
self, custom_headers=None, raw=False, **operation_config):
- """
- Get complex types with long properties
+ """Get complex types with long properties.
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside the
@@ -167,8 +164,7 @@ def get_long(
def put_long(
self, complex_body, custom_headers=None, raw=False, **operation_config):
- """
- Put complex types with long properties
+ """Put complex types with long properties.
:param complex_body: Please put 1099511627775 and -999511627788
:type complex_body: :class:`LongWrapper
@@ -211,8 +207,7 @@ def put_long(
def get_float(
self, custom_headers=None, raw=False, **operation_config):
- """
- Get complex types with float properties
+ """Get complex types with float properties.
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside the
@@ -256,8 +251,7 @@ def get_float(
def put_float(
self, complex_body, custom_headers=None, raw=False, **operation_config):
- """
- Put complex types with float properties
+ """Put complex types with float properties.
:param complex_body: Please put 1.05 and -0.003
:type complex_body: :class:`FloatWrapper
@@ -300,8 +294,7 @@ def put_float(
def get_double(
self, custom_headers=None, raw=False, **operation_config):
- """
- Get complex types with double properties
+ """Get complex types with double properties.
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside the
@@ -345,8 +338,7 @@ def get_double(
def put_double(
self, complex_body, custom_headers=None, raw=False, **operation_config):
- """
- Put complex types with double properties
+ """Put complex types with double properties.
:param complex_body: Please put 3e-100 and
-0.000000000000000000000000000000000000000000000000000000005
@@ -390,8 +382,7 @@ def put_double(
def get_bool(
self, custom_headers=None, raw=False, **operation_config):
- """
- Get complex types with bool properties
+ """Get complex types with bool properties.
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside the
@@ -435,8 +426,7 @@ def get_bool(
def put_bool(
self, complex_body, custom_headers=None, raw=False, **operation_config):
- """
- Put complex types with bool properties
+ """Put complex types with bool properties.
:param complex_body: Please put true and false
:type complex_body: :class:`BooleanWrapper
@@ -479,8 +469,7 @@ def put_bool(
def get_string(
self, custom_headers=None, raw=False, **operation_config):
- """
- Get complex types with string properties
+ """Get complex types with string properties.
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside the
@@ -524,8 +513,7 @@ def get_string(
def put_string(
self, complex_body, custom_headers=None, raw=False, **operation_config):
- """
- Put complex types with string properties
+ """Put complex types with string properties.
:param complex_body: Please put 'goodrequest', '', and null
:type complex_body: :class:`StringWrapper
@@ -568,8 +556,7 @@ def put_string(
def get_date(
self, custom_headers=None, raw=False, **operation_config):
- """
- Get complex types with date properties
+ """Get complex types with date properties.
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside the
@@ -613,8 +600,7 @@ def get_date(
def put_date(
self, complex_body, custom_headers=None, raw=False, **operation_config):
- """
- Put complex types with date properties
+ """Put complex types with date properties.
:param complex_body: Please put '0001-01-01' and '2016-02-29'
:type complex_body: :class:`DateWrapper
@@ -657,8 +643,7 @@ def put_date(
def get_date_time(
self, custom_headers=None, raw=False, **operation_config):
- """
- Get complex types with datetime properties
+ """Get complex types with datetime properties.
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside the
@@ -702,8 +687,7 @@ def get_date_time(
def put_date_time(
self, complex_body, custom_headers=None, raw=False, **operation_config):
- """
- Put complex types with datetime properties
+ """Put complex types with datetime properties.
:param complex_body: Please put '0001-01-01T12:00:00-04:00' and
'2015-05-18T11:38:00-08:00'
@@ -747,8 +731,7 @@ def put_date_time(
def get_date_time_rfc1123(
self, custom_headers=None, raw=False, **operation_config):
- """
- Get complex types with datetimeRfc1123 properties
+ """Get complex types with datetimeRfc1123 properties.
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside the
@@ -792,8 +775,7 @@ def get_date_time_rfc1123(
def put_date_time_rfc1123(
self, complex_body, custom_headers=None, raw=False, **operation_config):
- """
- Put complex types with datetimeRfc1123 properties
+ """Put complex types with datetimeRfc1123 properties.
:param complex_body: Please put 'Mon, 01 Jan 0001 12:00:00 GMT' and
'Mon, 18 May 2015 11:38:00 GMT'
@@ -837,8 +819,7 @@ def put_date_time_rfc1123(
def get_duration(
self, custom_headers=None, raw=False, **operation_config):
- """
- Get complex types with duration properties
+ """Get complex types with duration properties.
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside the
@@ -882,8 +863,7 @@ def get_duration(
def put_duration(
self, field=None, custom_headers=None, raw=False, **operation_config):
- """
- Put complex types with duration properties
+ """Put complex types with duration properties.
:param field:
:type field: timedelta
@@ -927,8 +907,7 @@ def put_duration(
def get_byte(
self, custom_headers=None, raw=False, **operation_config):
- """
- Get complex types with byte properties
+ """Get complex types with byte properties.
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside the
@@ -972,8 +951,7 @@ def get_byte(
def put_byte(
self, field=None, custom_headers=None, raw=False, **operation_config):
- """
- Put complex types with byte properties
+ """Put complex types with byte properties.
:param field:
:type field: bytearray
diff --git a/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/BodyComplex/autorestcomplextestservice/operations/readonlyproperty.py b/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/BodyComplex/autorestcomplextestservice/operations/readonlyproperty.py
index d8505c972d..b2fb71d68f 100644
--- a/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/BodyComplex/autorestcomplextestservice/operations/readonlyproperty.py
+++ b/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/BodyComplex/autorestcomplextestservice/operations/readonlyproperty.py
@@ -33,8 +33,7 @@ def __init__(self, client, config, serializer, deserializer):
def get_valid(
self, custom_headers=None, raw=False, **operation_config):
- """
- Get complex types that have readonly properties
+ """Get complex types that have readonly properties.
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside the
@@ -78,8 +77,7 @@ def get_valid(
def put_valid(
self, complex_body, custom_headers=None, raw=False, **operation_config):
- """
- Put complex types that have readonly properties
+ """Put complex types that have readonly properties.
:param complex_body:
:type complex_body: :class:`ReadonlyObj
diff --git a/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/BodyDate/autorestdatetestservice/models/error.py b/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/BodyDate/autorestdatetestservice/models/error.py
index c2d19e377e..eb6c5cdea9 100644
--- a/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/BodyDate/autorestdatetestservice/models/error.py
+++ b/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/BodyDate/autorestdatetestservice/models/error.py
@@ -14,7 +14,7 @@
class Error(Model):
- """Error
+ """Error.
:param status:
:type status: int
diff --git a/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/BodyDate/autorestdatetestservice/operations/date_model.py b/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/BodyDate/autorestdatetestservice/operations/date_model.py
index 4f0f9e778d..a13846b56c 100644
--- a/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/BodyDate/autorestdatetestservice/operations/date_model.py
+++ b/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/BodyDate/autorestdatetestservice/operations/date_model.py
@@ -33,8 +33,7 @@ def __init__(self, client, config, serializer, deserializer):
def get_null(
self, custom_headers=None, raw=False, **operation_config):
- """
- Get null date value
+ """Get null date value.
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside the
@@ -77,8 +76,7 @@ def get_null(
def get_invalid_date(
self, custom_headers=None, raw=False, **operation_config):
- """
- Get invalid date value
+ """Get invalid date value.
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside the
@@ -121,8 +119,7 @@ def get_invalid_date(
def get_overflow_date(
self, custom_headers=None, raw=False, **operation_config):
- """
- Get overflow date value
+ """Get overflow date value.
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside the
@@ -165,8 +162,7 @@ def get_overflow_date(
def get_underflow_date(
self, custom_headers=None, raw=False, **operation_config):
- """
- Get underflow date value
+ """Get underflow date value.
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside the
@@ -209,8 +205,7 @@ def get_underflow_date(
def put_max_date(
self, date_body, custom_headers=None, raw=False, **operation_config):
- """
- Put max date value 9999-12-31
+ """Put max date value 9999-12-31.
:param date_body:
:type date_body: date
@@ -252,8 +247,7 @@ def put_max_date(
def get_max_date(
self, custom_headers=None, raw=False, **operation_config):
- """
- Get max date value 9999-12-31
+ """Get max date value 9999-12-31.
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside the
@@ -296,8 +290,7 @@ def get_max_date(
def put_min_date(
self, date_body, custom_headers=None, raw=False, **operation_config):
- """
- Put min date value 0000-01-01
+ """Put min date value 0000-01-01.
:param date_body:
:type date_body: date
@@ -339,8 +332,7 @@ def put_min_date(
def get_min_date(
self, custom_headers=None, raw=False, **operation_config):
- """
- Get min date value 0000-01-01
+ """Get min date value 0000-01-01.
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside the
diff --git a/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/BodyDateTime/autorestdatetimetestservice/models/error.py b/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/BodyDateTime/autorestdatetimetestservice/models/error.py
index c2d19e377e..eb6c5cdea9 100644
--- a/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/BodyDateTime/autorestdatetimetestservice/models/error.py
+++ b/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/BodyDateTime/autorestdatetimetestservice/models/error.py
@@ -14,7 +14,7 @@
class Error(Model):
- """Error
+ """Error.
:param status:
:type status: int
diff --git a/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/BodyDateTime/autorestdatetimetestservice/operations/datetime_model.py b/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/BodyDateTime/autorestdatetimetestservice/operations/datetime_model.py
index b4412d87ef..aa746582d4 100644
--- a/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/BodyDateTime/autorestdatetimetestservice/operations/datetime_model.py
+++ b/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/BodyDateTime/autorestdatetimetestservice/operations/datetime_model.py
@@ -33,8 +33,7 @@ def __init__(self, client, config, serializer, deserializer):
def get_null(
self, custom_headers=None, raw=False, **operation_config):
- """
- Get null datetime value
+ """Get null datetime value.
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside the
@@ -77,8 +76,7 @@ def get_null(
def get_invalid(
self, custom_headers=None, raw=False, **operation_config):
- """
- Get invalid datetime value
+ """Get invalid datetime value.
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside the
@@ -121,8 +119,7 @@ def get_invalid(
def get_overflow(
self, custom_headers=None, raw=False, **operation_config):
- """
- Get overflow datetime value
+ """Get overflow datetime value.
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside the
@@ -165,8 +162,7 @@ def get_overflow(
def get_underflow(
self, custom_headers=None, raw=False, **operation_config):
- """
- Get underflow datetime value
+ """Get underflow datetime value.
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside the
@@ -209,8 +205,7 @@ def get_underflow(
def put_utc_max_date_time(
self, datetime_body, custom_headers=None, raw=False, **operation_config):
- """
- Put max datetime value 9999-12-31T23:59:59.9999999Z
+ """Put max datetime value 9999-12-31T23:59:59.9999999Z.
:param datetime_body:
:type datetime_body: datetime
@@ -252,8 +247,7 @@ def put_utc_max_date_time(
def get_utc_lowercase_max_date_time(
self, custom_headers=None, raw=False, **operation_config):
- """
- Get max datetime value 9999-12-31t23:59:59.9999999z
+ """Get max datetime value 9999-12-31t23:59:59.9999999z.
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside the
@@ -296,8 +290,7 @@ def get_utc_lowercase_max_date_time(
def get_utc_uppercase_max_date_time(
self, custom_headers=None, raw=False, **operation_config):
- """
- Get max datetime value 9999-12-31T23:59:59.9999999Z
+ """Get max datetime value 9999-12-31T23:59:59.9999999Z.
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside the
@@ -340,9 +333,8 @@ def get_utc_uppercase_max_date_time(
def put_local_positive_offset_max_date_time(
self, datetime_body, custom_headers=None, raw=False, **operation_config):
- """
- Put max datetime value with positive numoffset
- 9999-12-31t23:59:59.9999999+14:00
+ """Put max datetime value with positive numoffset
+ 9999-12-31t23:59:59.9999999+14:00.
:param datetime_body:
:type datetime_body: datetime
@@ -384,9 +376,8 @@ def put_local_positive_offset_max_date_time(
def get_local_positive_offset_lowercase_max_date_time(
self, custom_headers=None, raw=False, **operation_config):
- """
- Get max datetime value with positive num offset
- 9999-12-31t23:59:59.9999999+14:00
+ """Get max datetime value with positive num offset
+ 9999-12-31t23:59:59.9999999+14:00.
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside the
@@ -429,9 +420,8 @@ def get_local_positive_offset_lowercase_max_date_time(
def get_local_positive_offset_uppercase_max_date_time(
self, custom_headers=None, raw=False, **operation_config):
- """
- Get max datetime value with positive num offset
- 9999-12-31T23:59:59.9999999+14:00
+ """Get max datetime value with positive num offset
+ 9999-12-31T23:59:59.9999999+14:00.
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside the
@@ -474,9 +464,8 @@ def get_local_positive_offset_uppercase_max_date_time(
def put_local_negative_offset_max_date_time(
self, datetime_body, custom_headers=None, raw=False, **operation_config):
- """
- Put max datetime value with positive numoffset
- 9999-12-31t23:59:59.9999999-14:00
+ """Put max datetime value with positive numoffset
+ 9999-12-31t23:59:59.9999999-14:00.
:param datetime_body:
:type datetime_body: datetime
@@ -518,9 +507,8 @@ def put_local_negative_offset_max_date_time(
def get_local_negative_offset_uppercase_max_date_time(
self, custom_headers=None, raw=False, **operation_config):
- """
- Get max datetime value with positive num offset
- 9999-12-31T23:59:59.9999999-14:00
+ """Get max datetime value with positive num offset
+ 9999-12-31T23:59:59.9999999-14:00.
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside the
@@ -563,9 +551,8 @@ def get_local_negative_offset_uppercase_max_date_time(
def get_local_negative_offset_lowercase_max_date_time(
self, custom_headers=None, raw=False, **operation_config):
- """
- Get max datetime value with positive num offset
- 9999-12-31t23:59:59.9999999-14:00
+ """Get max datetime value with positive num offset
+ 9999-12-31t23:59:59.9999999-14:00.
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside the
@@ -608,8 +595,7 @@ def get_local_negative_offset_lowercase_max_date_time(
def put_utc_min_date_time(
self, datetime_body, custom_headers=None, raw=False, **operation_config):
- """
- Put min datetime value 0001-01-01T00:00:00Z
+ """Put min datetime value 0001-01-01T00:00:00Z.
:param datetime_body:
:type datetime_body: datetime
@@ -651,8 +637,7 @@ def put_utc_min_date_time(
def get_utc_min_date_time(
self, custom_headers=None, raw=False, **operation_config):
- """
- Get min datetime value 0001-01-01T00:00:00Z
+ """Get min datetime value 0001-01-01T00:00:00Z.
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside the
@@ -695,8 +680,7 @@ def get_utc_min_date_time(
def put_local_positive_offset_min_date_time(
self, datetime_body, custom_headers=None, raw=False, **operation_config):
- """
- Put min datetime value 0001-01-01T00:00:00+14:00
+ """Put min datetime value 0001-01-01T00:00:00+14:00.
:param datetime_body:
:type datetime_body: datetime
@@ -738,8 +722,7 @@ def put_local_positive_offset_min_date_time(
def get_local_positive_offset_min_date_time(
self, custom_headers=None, raw=False, **operation_config):
- """
- Get min datetime value 0001-01-01T00:00:00+14:00
+ """Get min datetime value 0001-01-01T00:00:00+14:00.
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside the
@@ -782,8 +765,7 @@ def get_local_positive_offset_min_date_time(
def put_local_negative_offset_min_date_time(
self, datetime_body, custom_headers=None, raw=False, **operation_config):
- """
- Put min datetime value 0001-01-01T00:00:00-14:00
+ """Put min datetime value 0001-01-01T00:00:00-14:00.
:param datetime_body:
:type datetime_body: datetime
@@ -825,8 +807,7 @@ def put_local_negative_offset_min_date_time(
def get_local_negative_offset_min_date_time(
self, custom_headers=None, raw=False, **operation_config):
- """
- Get min datetime value 0001-01-01T00:00:00-14:00
+ """Get min datetime value 0001-01-01T00:00:00-14:00.
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside the
diff --git a/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/BodyDateTimeRfc1123/autorestrfc1123datetimetestservice/models/error.py b/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/BodyDateTimeRfc1123/autorestrfc1123datetimetestservice/models/error.py
index c2d19e377e..eb6c5cdea9 100644
--- a/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/BodyDateTimeRfc1123/autorestrfc1123datetimetestservice/models/error.py
+++ b/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/BodyDateTimeRfc1123/autorestrfc1123datetimetestservice/models/error.py
@@ -14,7 +14,7 @@
class Error(Model):
- """Error
+ """Error.
:param status:
:type status: int
diff --git a/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/BodyDateTimeRfc1123/autorestrfc1123datetimetestservice/operations/datetimerfc1123.py b/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/BodyDateTimeRfc1123/autorestrfc1123datetimetestservice/operations/datetimerfc1123.py
index 1d9e03f214..5ae8a302e0 100644
--- a/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/BodyDateTimeRfc1123/autorestrfc1123datetimetestservice/operations/datetimerfc1123.py
+++ b/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/BodyDateTimeRfc1123/autorestrfc1123datetimetestservice/operations/datetimerfc1123.py
@@ -33,8 +33,7 @@ def __init__(self, client, config, serializer, deserializer):
def get_null(
self, custom_headers=None, raw=False, **operation_config):
- """
- Get null datetime value
+ """Get null datetime value.
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside the
@@ -77,8 +76,7 @@ def get_null(
def get_invalid(
self, custom_headers=None, raw=False, **operation_config):
- """
- Get invalid datetime value
+ """Get invalid datetime value.
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside the
@@ -121,8 +119,7 @@ def get_invalid(
def get_overflow(
self, custom_headers=None, raw=False, **operation_config):
- """
- Get overflow datetime value
+ """Get overflow datetime value.
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside the
@@ -165,8 +162,7 @@ def get_overflow(
def get_underflow(
self, custom_headers=None, raw=False, **operation_config):
- """
- Get underflow datetime value
+ """Get underflow datetime value.
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside the
@@ -209,8 +205,7 @@ def get_underflow(
def put_utc_max_date_time(
self, datetime_body, custom_headers=None, raw=False, **operation_config):
- """
- Put max datetime value Fri, 31 Dec 9999 23:59:59 GMT
+ """Put max datetime value Fri, 31 Dec 9999 23:59:59 GMT.
:param datetime_body:
:type datetime_body: datetime
@@ -252,8 +247,7 @@ def put_utc_max_date_time(
def get_utc_lowercase_max_date_time(
self, custom_headers=None, raw=False, **operation_config):
- """
- Get max datetime value fri, 31 dec 9999 23:59:59 gmt
+ """Get max datetime value fri, 31 dec 9999 23:59:59 gmt.
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside the
@@ -296,8 +290,7 @@ def get_utc_lowercase_max_date_time(
def get_utc_uppercase_max_date_time(
self, custom_headers=None, raw=False, **operation_config):
- """
- Get max datetime value FRI, 31 DEC 9999 23:59:59 GMT
+ """Get max datetime value FRI, 31 DEC 9999 23:59:59 GMT.
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside the
@@ -340,8 +333,7 @@ def get_utc_uppercase_max_date_time(
def put_utc_min_date_time(
self, datetime_body, custom_headers=None, raw=False, **operation_config):
- """
- Put min datetime value Mon, 1 Jan 0001 00:00:00 GMT
+ """Put min datetime value Mon, 1 Jan 0001 00:00:00 GMT.
:param datetime_body:
:type datetime_body: datetime
@@ -383,8 +375,7 @@ def put_utc_min_date_time(
def get_utc_min_date_time(
self, custom_headers=None, raw=False, **operation_config):
- """
- Get min datetime value Mon, 1 Jan 0001 00:00:00 GMT
+ """Get min datetime value Mon, 1 Jan 0001 00:00:00 GMT.
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside the
diff --git a/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/BodyDictionary/autorestswaggerbatdictionaryservice/models/error.py b/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/BodyDictionary/autorestswaggerbatdictionaryservice/models/error.py
index c2d19e377e..eb6c5cdea9 100644
--- a/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/BodyDictionary/autorestswaggerbatdictionaryservice/models/error.py
+++ b/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/BodyDictionary/autorestswaggerbatdictionaryservice/models/error.py
@@ -14,7 +14,7 @@
class Error(Model):
- """Error
+ """Error.
:param status:
:type status: int
diff --git a/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/BodyDictionary/autorestswaggerbatdictionaryservice/models/widget.py b/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/BodyDictionary/autorestswaggerbatdictionaryservice/models/widget.py
index 3a3c86f698..e9911af492 100644
--- a/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/BodyDictionary/autorestswaggerbatdictionaryservice/models/widget.py
+++ b/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/BodyDictionary/autorestswaggerbatdictionaryservice/models/widget.py
@@ -13,7 +13,7 @@
class Widget(Model):
- """Widget
+ """Widget.
:param integer:
:type integer: int
diff --git a/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/BodyDictionary/autorestswaggerbatdictionaryservice/operations/dictionary.py b/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/BodyDictionary/autorestswaggerbatdictionaryservice/operations/dictionary.py
index 5744c23adf..ca016a62d8 100644
--- a/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/BodyDictionary/autorestswaggerbatdictionaryservice/operations/dictionary.py
+++ b/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/BodyDictionary/autorestswaggerbatdictionaryservice/operations/dictionary.py
@@ -33,8 +33,7 @@ def __init__(self, client, config, serializer, deserializer):
def get_null(
self, custom_headers=None, raw=False, **operation_config):
- """
- Get null dictionary value
+ """Get null dictionary value.
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside the
@@ -77,8 +76,7 @@ def get_null(
def get_empty(
self, custom_headers=None, raw=False, **operation_config):
- """
- Get empty dictionary value {}
+ """Get empty dictionary value {}.
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside the
@@ -121,8 +119,7 @@ def get_empty(
def put_empty(
self, array_body, custom_headers=None, raw=False, **operation_config):
- """
- Set dictionary value empty {}
+ """Set dictionary value empty {}.
:param array_body:
:type array_body: dict
@@ -164,8 +161,7 @@ def put_empty(
def get_null_value(
self, custom_headers=None, raw=False, **operation_config):
- """
- Get Dictionary with null value
+ """Get Dictionary with null value.
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside the
@@ -208,8 +204,7 @@ def get_null_value(
def get_null_key(
self, custom_headers=None, raw=False, **operation_config):
- """
- Get Dictionary with null key
+ """Get Dictionary with null key.
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside the
@@ -252,8 +247,7 @@ def get_null_key(
def get_empty_string_key(
self, custom_headers=None, raw=False, **operation_config):
- """
- Get Dictionary with key as empty string
+ """Get Dictionary with key as empty string.
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside the
@@ -296,8 +290,7 @@ def get_empty_string_key(
def get_invalid(
self, custom_headers=None, raw=False, **operation_config):
- """
- Get invalid Dictionary value
+ """Get invalid Dictionary value.
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside the
@@ -340,9 +333,8 @@ def get_invalid(
def get_boolean_tfft(
self, custom_headers=None, raw=False, **operation_config):
- """
- Get boolean dictionary value {"0": true, "1": false, "2": false, "3":
- true }
+ """Get boolean dictionary value {"0": true, "1": false, "2": false, "3":
+ true }.
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside the
@@ -385,9 +377,8 @@ def get_boolean_tfft(
def put_boolean_tfft(
self, array_body, custom_headers=None, raw=False, **operation_config):
- """
- Set dictionary value empty {"0": true, "1": false, "2": false, "3":
- true }
+ """Set dictionary value empty {"0": true, "1": false, "2": false, "3":
+ true }.
:param array_body:
:type array_body: dict
@@ -429,8 +420,7 @@ def put_boolean_tfft(
def get_boolean_invalid_null(
self, custom_headers=None, raw=False, **operation_config):
- """
- Get boolean dictionary value {"0": true, "1": null, "2": false }
+ """Get boolean dictionary value {"0": true, "1": null, "2": false }.
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside the
@@ -473,8 +463,7 @@ def get_boolean_invalid_null(
def get_boolean_invalid_string(
self, custom_headers=None, raw=False, **operation_config):
- """
- Get boolean dictionary value '{"0": true, "1": "boolean", "2": false}'
+ """Get boolean dictionary value '{"0": true, "1": "boolean", "2": false}'.
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside the
@@ -517,8 +506,7 @@ def get_boolean_invalid_string(
def get_integer_valid(
self, custom_headers=None, raw=False, **operation_config):
- """
- Get integer dictionary value {"0": 1, "1": -1, "2": 3, "3": 300}
+ """Get integer dictionary value {"0": 1, "1": -1, "2": 3, "3": 300}.
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside the
@@ -561,8 +549,7 @@ def get_integer_valid(
def put_integer_valid(
self, array_body, custom_headers=None, raw=False, **operation_config):
- """
- Set dictionary value empty {"0": 1, "1": -1, "2": 3, "3": 300}
+ """Set dictionary value empty {"0": 1, "1": -1, "2": 3, "3": 300}.
:param array_body:
:type array_body: dict
@@ -604,8 +591,7 @@ def put_integer_valid(
def get_int_invalid_null(
self, custom_headers=None, raw=False, **operation_config):
- """
- Get integer dictionary value {"0": 1, "1": null, "2": 0}
+ """Get integer dictionary value {"0": 1, "1": null, "2": 0}.
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside the
@@ -648,8 +634,7 @@ def get_int_invalid_null(
def get_int_invalid_string(
self, custom_headers=None, raw=False, **operation_config):
- """
- Get integer dictionary value {"0": 1, "1": "integer", "2": 0}
+ """Get integer dictionary value {"0": 1, "1": "integer", "2": 0}.
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside the
@@ -692,8 +677,7 @@ def get_int_invalid_string(
def get_long_valid(
self, custom_headers=None, raw=False, **operation_config):
- """
- Get integer dictionary value {"0": 1, "1": -1, "2": 3, "3": 300}
+ """Get integer dictionary value {"0": 1, "1": -1, "2": 3, "3": 300}.
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside the
@@ -736,8 +720,7 @@ def get_long_valid(
def put_long_valid(
self, array_body, custom_headers=None, raw=False, **operation_config):
- """
- Set dictionary value empty {"0": 1, "1": -1, "2": 3, "3": 300}
+ """Set dictionary value empty {"0": 1, "1": -1, "2": 3, "3": 300}.
:param array_body:
:type array_body: dict
@@ -779,8 +762,7 @@ def put_long_valid(
def get_long_invalid_null(
self, custom_headers=None, raw=False, **operation_config):
- """
- Get long dictionary value {"0": 1, "1": null, "2": 0}
+ """Get long dictionary value {"0": 1, "1": null, "2": 0}.
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside the
@@ -823,8 +805,7 @@ def get_long_invalid_null(
def get_long_invalid_string(
self, custom_headers=None, raw=False, **operation_config):
- """
- Get long dictionary value {"0": 1, "1": "integer", "2": 0}
+ """Get long dictionary value {"0": 1, "1": "integer", "2": 0}.
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside the
@@ -867,8 +848,7 @@ def get_long_invalid_string(
def get_float_valid(
self, custom_headers=None, raw=False, **operation_config):
- """
- Get float dictionary value {"0": 0, "1": -0.01, "2": 1.2e20}
+ """Get float dictionary value {"0": 0, "1": -0.01, "2": 1.2e20}.
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside the
@@ -911,8 +891,7 @@ def get_float_valid(
def put_float_valid(
self, array_body, custom_headers=None, raw=False, **operation_config):
- """
- Set dictionary value {"0": 0, "1": -0.01, "2": 1.2e20}
+ """Set dictionary value {"0": 0, "1": -0.01, "2": 1.2e20}.
:param array_body:
:type array_body: dict
@@ -954,8 +933,7 @@ def put_float_valid(
def get_float_invalid_null(
self, custom_headers=None, raw=False, **operation_config):
- """
- Get float dictionary value {"0": 0.0, "1": null, "2": 1.2e20}
+ """Get float dictionary value {"0": 0.0, "1": null, "2": 1.2e20}.
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside the
@@ -998,8 +976,7 @@ def get_float_invalid_null(
def get_float_invalid_string(
self, custom_headers=None, raw=False, **operation_config):
- """
- Get boolean dictionary value {"0": 1.0, "1": "number", "2": 0.0}
+ """Get boolean dictionary value {"0": 1.0, "1": "number", "2": 0.0}.
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside the
@@ -1042,8 +1019,7 @@ def get_float_invalid_string(
def get_double_valid(
self, custom_headers=None, raw=False, **operation_config):
- """
- Get float dictionary value {"0": 0, "1": -0.01, "2": 1.2e20}
+ """Get float dictionary value {"0": 0, "1": -0.01, "2": 1.2e20}.
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside the
@@ -1086,8 +1062,7 @@ def get_double_valid(
def put_double_valid(
self, array_body, custom_headers=None, raw=False, **operation_config):
- """
- Set dictionary value {"0": 0, "1": -0.01, "2": 1.2e20}
+ """Set dictionary value {"0": 0, "1": -0.01, "2": 1.2e20}.
:param array_body:
:type array_body: dict
@@ -1129,8 +1104,7 @@ def put_double_valid(
def get_double_invalid_null(
self, custom_headers=None, raw=False, **operation_config):
- """
- Get float dictionary value {"0": 0.0, "1": null, "2": 1.2e20}
+ """Get float dictionary value {"0": 0.0, "1": null, "2": 1.2e20}.
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside the
@@ -1173,8 +1147,7 @@ def get_double_invalid_null(
def get_double_invalid_string(
self, custom_headers=None, raw=False, **operation_config):
- """
- Get boolean dictionary value {"0": 1.0, "1": "number", "2": 0.0}
+ """Get boolean dictionary value {"0": 1.0, "1": "number", "2": 0.0}.
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside the
@@ -1217,8 +1190,7 @@ def get_double_invalid_string(
def get_string_valid(
self, custom_headers=None, raw=False, **operation_config):
- """
- Get string dictionary value {"0": "foo1", "1": "foo2", "2": "foo3"}
+ """Get string dictionary value {"0": "foo1", "1": "foo2", "2": "foo3"}.
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside the
@@ -1261,8 +1233,7 @@ def get_string_valid(
def put_string_valid(
self, array_body, custom_headers=None, raw=False, **operation_config):
- """
- Set dictionary value {"0": "foo1", "1": "foo2", "2": "foo3"}
+ """Set dictionary value {"0": "foo1", "1": "foo2", "2": "foo3"}.
:param array_body:
:type array_body: dict
@@ -1304,8 +1275,7 @@ def put_string_valid(
def get_string_with_null(
self, custom_headers=None, raw=False, **operation_config):
- """
- Get string dictionary value {"0": "foo", "1": null, "2": "foo2"}
+ """Get string dictionary value {"0": "foo", "1": null, "2": "foo2"}.
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside the
@@ -1348,8 +1318,7 @@ def get_string_with_null(
def get_string_with_invalid(
self, custom_headers=None, raw=False, **operation_config):
- """
- Get string dictionary value {"0": "foo", "1": 123, "2": "foo2"}
+ """Get string dictionary value {"0": "foo", "1": 123, "2": "foo2"}.
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside the
@@ -1392,9 +1361,8 @@ def get_string_with_invalid(
def get_date_valid(
self, custom_headers=None, raw=False, **operation_config):
- """
- Get integer dictionary value {"0": "2000-12-01", "1": "1980-01-02",
- "2": "1492-10-12"}
+ """Get integer dictionary value {"0": "2000-12-01", "1": "1980-01-02",
+ "2": "1492-10-12"}.
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside the
@@ -1437,9 +1405,8 @@ def get_date_valid(
def put_date_valid(
self, array_body, custom_headers=None, raw=False, **operation_config):
- """
- Set dictionary value {"0": "2000-12-01", "1": "1980-01-02", "2":
- "1492-10-12"}
+ """Set dictionary value {"0": "2000-12-01", "1": "1980-01-02", "2":
+ "1492-10-12"}.
:param array_body:
:type array_body: dict
@@ -1481,9 +1448,8 @@ def put_date_valid(
def get_date_invalid_null(
self, custom_headers=None, raw=False, **operation_config):
- """
- Get date dictionary value {"0": "2012-01-01", "1": null, "2":
- "1776-07-04"}
+ """Get date dictionary value {"0": "2012-01-01", "1": null, "2":
+ "1776-07-04"}.
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside the
@@ -1526,8 +1492,7 @@ def get_date_invalid_null(
def get_date_invalid_chars(
self, custom_headers=None, raw=False, **operation_config):
- """
- Get date dictionary value {"0": "2011-03-22", "1": "date"}
+ """Get date dictionary value {"0": "2011-03-22", "1": "date"}.
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside the
@@ -1570,9 +1535,8 @@ def get_date_invalid_chars(
def get_date_time_valid(
self, custom_headers=None, raw=False, **operation_config):
- """
- Get date-time dictionary value {"0": "2000-12-01t00:00:01z", "1":
- "1980-01-02T00:11:35+01:00", "2": "1492-10-12T10:15:01-08:00"}
+ """Get date-time dictionary value {"0": "2000-12-01t00:00:01z", "1":
+ "1980-01-02T00:11:35+01:00", "2": "1492-10-12T10:15:01-08:00"}.
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside the
@@ -1615,9 +1579,8 @@ def get_date_time_valid(
def put_date_time_valid(
self, array_body, custom_headers=None, raw=False, **operation_config):
- """
- Set dictionary value {"0": "2000-12-01t00:00:01z", "1":
- "1980-01-02T00:11:35+01:00", "2": "1492-10-12T10:15:01-08:00"}
+ """Set dictionary value {"0": "2000-12-01t00:00:01z", "1":
+ "1980-01-02T00:11:35+01:00", "2": "1492-10-12T10:15:01-08:00"}.
:param array_body:
:type array_body: dict
@@ -1659,8 +1622,7 @@ def put_date_time_valid(
def get_date_time_invalid_null(
self, custom_headers=None, raw=False, **operation_config):
- """
- Get date dictionary value {"0": "2000-12-01t00:00:01z", "1": null}
+ """Get date dictionary value {"0": "2000-12-01t00:00:01z", "1": null}.
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside the
@@ -1703,9 +1665,8 @@ def get_date_time_invalid_null(
def get_date_time_invalid_chars(
self, custom_headers=None, raw=False, **operation_config):
- """
- Get date dictionary value {"0": "2000-12-01t00:00:01z", "1":
- "date-time"}
+ """Get date dictionary value {"0": "2000-12-01t00:00:01z", "1":
+ "date-time"}.
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside the
@@ -1748,10 +1709,9 @@ def get_date_time_invalid_chars(
def get_date_time_rfc1123_valid(
self, custom_headers=None, raw=False, **operation_config):
- """
- Get date-time-rfc1123 dictionary value {"0": "Fri, 01 Dec 2000
+ """Get date-time-rfc1123 dictionary value {"0": "Fri, 01 Dec 2000
00:00:01 GMT", "1": "Wed, 02 Jan 1980 00:11:35 GMT", "2": "Wed, 12
- Oct 1492 10:15:01 GMT"}
+ Oct 1492 10:15:01 GMT"}.
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside the
@@ -1794,9 +1754,9 @@ def get_date_time_rfc1123_valid(
def put_date_time_rfc1123_valid(
self, array_body, custom_headers=None, raw=False, **operation_config):
- """
- Set dictionary value empty {"0": "Fri, 01 Dec 2000 00:00:01 GMT", "1":
- "Wed, 02 Jan 1980 00:11:35 GMT", "2": "Wed, 12 Oct 1492 10:15:01 GMT"}
+ """Set dictionary value empty {"0": "Fri, 01 Dec 2000 00:00:01 GMT", "1":
+ "Wed, 02 Jan 1980 00:11:35 GMT", "2": "Wed, 12 Oct 1492 10:15:01
+ GMT"}.
:param array_body:
:type array_body: dict
@@ -1838,9 +1798,8 @@ def put_date_time_rfc1123_valid(
def get_duration_valid(
self, custom_headers=None, raw=False, **operation_config):
- """
- Get duration dictionary value {"0": "P123DT22H14M12.011S", "1":
- "P5DT1H0M0S"}
+ """Get duration dictionary value {"0": "P123DT22H14M12.011S", "1":
+ "P5DT1H0M0S"}.
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside the
@@ -1883,8 +1842,7 @@ def get_duration_valid(
def put_duration_valid(
self, array_body, custom_headers=None, raw=False, **operation_config):
- """
- Set dictionary value {"0": "P123DT22H14M12.011S", "1": "P5DT1H0M0S"}
+ """Set dictionary value {"0": "P123DT22H14M12.011S", "1": "P5DT1H0M0S"}.
:param array_body:
:type array_body: dict
@@ -1926,9 +1884,8 @@ def put_duration_valid(
def get_byte_valid(
self, custom_headers=None, raw=False, **operation_config):
- """
- Get byte dictionary value {"0": hex(FF FF FF FA), "1": hex(01 02 03),
- "2": hex (25, 29, 43)} with each item encoded in base64
+ """Get byte dictionary value {"0": hex(FF FF FF FA), "1": hex(01 02 03),
+ "2": hex (25, 29, 43)} with each item encoded in base64.
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside the
@@ -1971,9 +1928,8 @@ def get_byte_valid(
def put_byte_valid(
self, array_body, custom_headers=None, raw=False, **operation_config):
- """
- Put the dictionary value {"0": hex(FF FF FF FA), "1": hex(01 02 03),
- "2": hex (25, 29, 43)} with each elementencoded in base 64
+ """Put the dictionary value {"0": hex(FF FF FF FA), "1": hex(01 02 03),
+ "2": hex (25, 29, 43)} with each elementencoded in base 64.
:param array_body:
:type array_body: dict
@@ -2015,9 +1971,8 @@ def put_byte_valid(
def get_byte_invalid_null(
self, custom_headers=None, raw=False, **operation_config):
- """
- Get byte dictionary value {"0": hex(FF FF FF FA), "1": null} with the
- first item base64 encoded
+ """Get byte dictionary value {"0": hex(FF FF FF FA), "1": null} with the
+ first item base64 encoded.
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside the
@@ -2060,9 +2015,8 @@ def get_byte_invalid_null(
def get_base64_url(
self, custom_headers=None, raw=False, **operation_config):
- """
- Get base64url dictionary value {"0": "a string that gets encoded with
- base64url", "1": "test string", "2": "Lorem ipsum"}
+ """Get base64url dictionary value {"0": "a string that gets encoded with
+ base64url", "1": "test string", "2": "Lorem ipsum"}.
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside the
@@ -2105,8 +2059,7 @@ def get_base64_url(
def get_complex_null(
self, custom_headers=None, raw=False, **operation_config):
- """
- Get dictionary of complex type null value
+ """Get dictionary of complex type null value.
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside the
@@ -2149,8 +2102,7 @@ def get_complex_null(
def get_complex_empty(
self, custom_headers=None, raw=False, **operation_config):
- """
- Get empty dictionary of complex type {}
+ """Get empty dictionary of complex type {}.
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside the
@@ -2193,9 +2145,8 @@ def get_complex_empty(
def get_complex_item_null(
self, custom_headers=None, raw=False, **operation_config):
- """
- Get dictionary of complex type with null item {"0": {"integer": 1,
- "string": "2"}, "1": null, "2": {"integer": 5, "string": "6"}}
+ """Get dictionary of complex type with null item {"0": {"integer": 1,
+ "string": "2"}, "1": null, "2": {"integer": 5, "string": "6"}}.
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside the
@@ -2238,9 +2189,8 @@ def get_complex_item_null(
def get_complex_item_empty(
self, custom_headers=None, raw=False, **operation_config):
- """
- Get dictionary of complex type with empty item {"0": {"integer": 1,
- "string": "2"}, "1:" {}, "2": {"integer": 5, "string": "6"}}
+ """Get dictionary of complex type with empty item {"0": {"integer": 1,
+ "string": "2"}, "1:" {}, "2": {"integer": 5, "string": "6"}}.
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside the
@@ -2283,10 +2233,9 @@ def get_complex_item_empty(
def get_complex_valid(
self, custom_headers=None, raw=False, **operation_config):
- """
- Get dictionary of complex type with {"0": {"integer": 1, "string":
+ """Get dictionary of complex type with {"0": {"integer": 1, "string":
"2"}, "1": {"integer": 3, "string": "4"}, "2": {"integer": 5,
- "string": "6"}}
+ "string": "6"}}.
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside the
@@ -2329,10 +2278,9 @@ def get_complex_valid(
def put_complex_valid(
self, array_body, custom_headers=None, raw=False, **operation_config):
- """
- Put an dictionary of complex type with values {"0": {"integer": 1,
+ """Put an dictionary of complex type with values {"0": {"integer": 1,
"string": "2"}, "1": {"integer": 3, "string": "4"}, "2": {"integer":
- 5, "string": "6"}}
+ 5, "string": "6"}}.
:param array_body:
:type array_body: dict
@@ -2374,8 +2322,7 @@ def put_complex_valid(
def get_array_null(
self, custom_headers=None, raw=False, **operation_config):
- """
- Get a null array
+ """Get a null array.
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside the
@@ -2418,8 +2365,7 @@ def get_array_null(
def get_array_empty(
self, custom_headers=None, raw=False, **operation_config):
- """
- Get an empty dictionary {}
+ """Get an empty dictionary {}.
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside the
@@ -2462,9 +2408,8 @@ def get_array_empty(
def get_array_item_null(
self, custom_headers=None, raw=False, **operation_config):
- """
- Get an dictionary of array of strings {"0": ["1", "2", "3"], "1":
- null, "2": ["7", "8", "9"]}
+ """Get an dictionary of array of strings {"0": ["1", "2", "3"], "1":
+ null, "2": ["7", "8", "9"]}.
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside the
@@ -2507,9 +2452,8 @@ def get_array_item_null(
def get_array_item_empty(
self, custom_headers=None, raw=False, **operation_config):
- """
- Get an array of array of strings [{"0": ["1", "2", "3"], "1": [], "2":
- ["7", "8", "9"]}
+ """Get an array of array of strings [{"0": ["1", "2", "3"], "1": [], "2":
+ ["7", "8", "9"]}.
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside the
@@ -2552,9 +2496,8 @@ def get_array_item_empty(
def get_array_valid(
self, custom_headers=None, raw=False, **operation_config):
- """
- Get an array of array of strings {"0": ["1", "2", "3"], "1": ["4",
- "5", "6"], "2": ["7", "8", "9"]}
+ """Get an array of array of strings {"0": ["1", "2", "3"], "1": ["4",
+ "5", "6"], "2": ["7", "8", "9"]}.
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside the
@@ -2597,9 +2540,8 @@ def get_array_valid(
def put_array_valid(
self, array_body, custom_headers=None, raw=False, **operation_config):
- """
- Put An array of array of strings {"0": ["1", "2", "3"], "1": ["4",
- "5", "6"], "2": ["7", "8", "9"]}
+ """Put An array of array of strings {"0": ["1", "2", "3"], "1": ["4",
+ "5", "6"], "2": ["7", "8", "9"]}.
:param array_body:
:type array_body: dict
@@ -2641,8 +2583,7 @@ def put_array_valid(
def get_dictionary_null(
self, custom_headers=None, raw=False, **operation_config):
- """
- Get an dictionaries of dictionaries with value null
+ """Get an dictionaries of dictionaries with value null.
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside the
@@ -2685,9 +2626,8 @@ def get_dictionary_null(
def get_dictionary_empty(
self, custom_headers=None, raw=False, **operation_config):
- """
- Get an dictionaries of dictionaries of type with
- value {}
+ """Get an dictionaries of dictionaries of type with
+ value {}.
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside the
@@ -2730,10 +2670,9 @@ def get_dictionary_empty(
def get_dictionary_item_null(
self, custom_headers=None, raw=False, **operation_config):
- """
- Get an dictionaries of dictionaries of type with
+ """Get an dictionaries of dictionaries of type with
value {"0": {"1": "one", "2": "two", "3": "three"}, "1": null, "2":
- {"7": "seven", "8": "eight", "9": "nine"}}
+ {"7": "seven", "8": "eight", "9": "nine"}}.
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside the
@@ -2776,10 +2715,9 @@ def get_dictionary_item_null(
def get_dictionary_item_empty(
self, custom_headers=None, raw=False, **operation_config):
- """
- Get an dictionaries of dictionaries of type with
+ """Get an dictionaries of dictionaries of type with
value {"0": {"1": "one", "2": "two", "3": "three"}, "1": {}, "2":
- {"7": "seven", "8": "eight", "9": "nine"}}
+ {"7": "seven", "8": "eight", "9": "nine"}}.
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside the
@@ -2822,11 +2760,10 @@ def get_dictionary_item_empty(
def get_dictionary_valid(
self, custom_headers=None, raw=False, **operation_config):
- """
- Get an dictionaries of dictionaries of type with
+ """Get an dictionaries of dictionaries of type with
value {"0": {"1": "one", "2": "two", "3": "three"}, "1": {"4":
"four", "5": "five", "6": "six"}, "2": {"7": "seven", "8": "eight",
- "9": "nine"}}
+ "9": "nine"}}.
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside the
@@ -2869,11 +2806,10 @@ def get_dictionary_valid(
def put_dictionary_valid(
self, array_body, custom_headers=None, raw=False, **operation_config):
- """
- Get an dictionaries of dictionaries of type with
+ """Get an dictionaries of dictionaries of type with
value {"0": {"1": "one", "2": "two", "3": "three"}, "1": {"4":
"four", "5": "five", "6": "six"}, "2": {"7": "seven", "8": "eight",
- "9": "nine"}}
+ "9": "nine"}}.
:param array_body:
:type array_body: dict
diff --git a/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/BodyDuration/autorestdurationtestservice/models/error.py b/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/BodyDuration/autorestdurationtestservice/models/error.py
index c2d19e377e..eb6c5cdea9 100644
--- a/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/BodyDuration/autorestdurationtestservice/models/error.py
+++ b/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/BodyDuration/autorestdurationtestservice/models/error.py
@@ -14,7 +14,7 @@
class Error(Model):
- """Error
+ """Error.
:param status:
:type status: int
diff --git a/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/BodyDuration/autorestdurationtestservice/operations/duration.py b/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/BodyDuration/autorestdurationtestservice/operations/duration.py
index 1bf3b5a416..e6f38d87a7 100644
--- a/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/BodyDuration/autorestdurationtestservice/operations/duration.py
+++ b/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/BodyDuration/autorestdurationtestservice/operations/duration.py
@@ -33,8 +33,7 @@ def __init__(self, client, config, serializer, deserializer):
def get_null(
self, custom_headers=None, raw=False, **operation_config):
- """
- Get null duration value
+ """Get null duration value.
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside the
@@ -77,8 +76,7 @@ def get_null(
def put_positive_duration(
self, duration_body, custom_headers=None, raw=False, **operation_config):
- """
- Put a positive duration value
+ """Put a positive duration value.
:param duration_body:
:type duration_body: timedelta
@@ -120,8 +118,7 @@ def put_positive_duration(
def get_positive_duration(
self, custom_headers=None, raw=False, **operation_config):
- """
- Get a positive duration value
+ """Get a positive duration value.
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside the
@@ -164,8 +161,7 @@ def get_positive_duration(
def get_invalid(
self, custom_headers=None, raw=False, **operation_config):
- """
- Get an invalid duration value
+ """Get an invalid duration value.
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside the
diff --git a/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/BodyFile/autorestswaggerbatfileservice/models/error.py b/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/BodyFile/autorestswaggerbatfileservice/models/error.py
index c2d19e377e..eb6c5cdea9 100644
--- a/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/BodyFile/autorestswaggerbatfileservice/models/error.py
+++ b/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/BodyFile/autorestswaggerbatfileservice/models/error.py
@@ -14,7 +14,7 @@
class Error(Model):
- """Error
+ """Error.
:param status:
:type status: int
diff --git a/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/BodyFile/autorestswaggerbatfileservice/operations/files.py b/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/BodyFile/autorestswaggerbatfileservice/operations/files.py
index 82b953c456..cd0c1ecd96 100644
--- a/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/BodyFile/autorestswaggerbatfileservice/operations/files.py
+++ b/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/BodyFile/autorestswaggerbatfileservice/operations/files.py
@@ -33,8 +33,7 @@ def __init__(self, client, config, serializer, deserializer):
def get_file(
self, custom_headers=None, raw=False, callback=None, **operation_config):
- """
- Get file
+ """Get file.
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside the
@@ -82,8 +81,7 @@ def get_file(
def get_file_large(
self, custom_headers=None, raw=False, callback=None, **operation_config):
- """
- Get a large file
+ """Get a large file.
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside the
@@ -131,8 +129,7 @@ def get_file_large(
def get_empty_file(
self, custom_headers=None, raw=False, callback=None, **operation_config):
- """
- Get empty file
+ """Get empty file.
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside the
diff --git a/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/BodyFormData/autorestswaggerbatformdataservice/models/error.py b/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/BodyFormData/autorestswaggerbatformdataservice/models/error.py
index c2d19e377e..eb6c5cdea9 100644
--- a/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/BodyFormData/autorestswaggerbatformdataservice/models/error.py
+++ b/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/BodyFormData/autorestswaggerbatformdataservice/models/error.py
@@ -14,7 +14,7 @@
class Error(Model):
- """Error
+ """Error.
:param status:
:type status: int
diff --git a/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/BodyFormData/autorestswaggerbatformdataservice/operations/formdata.py b/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/BodyFormData/autorestswaggerbatformdataservice/operations/formdata.py
index 99b61bb72e..f0f30026ac 100644
--- a/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/BodyFormData/autorestswaggerbatformdataservice/operations/formdata.py
+++ b/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/BodyFormData/autorestswaggerbatformdataservice/operations/formdata.py
@@ -33,8 +33,7 @@ def __init__(self, client, config, serializer, deserializer):
def upload_file(
self, file_content, file_name, custom_headers=None, raw=False, callback=None, **operation_config):
- """
- Upload file
+ """Upload file.
:param file_content: File to upload.
:type file_content: Generator
@@ -94,8 +93,7 @@ def upload_file(
def upload_file_via_body(
self, file_content, custom_headers=None, raw=False, callback=None, **operation_config):
- """
- Upload file
+ """Upload file.
:param file_content: File to upload.
:type file_content: Generator
diff --git a/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/BodyInteger/autorestintegertestservice/models/error.py b/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/BodyInteger/autorestintegertestservice/models/error.py
index c2d19e377e..eb6c5cdea9 100644
--- a/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/BodyInteger/autorestintegertestservice/models/error.py
+++ b/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/BodyInteger/autorestintegertestservice/models/error.py
@@ -14,7 +14,7 @@
class Error(Model):
- """Error
+ """Error.
:param status:
:type status: int
diff --git a/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/BodyInteger/autorestintegertestservice/operations/int_model.py b/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/BodyInteger/autorestintegertestservice/operations/int_model.py
index a0140cff75..a449942cea 100644
--- a/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/BodyInteger/autorestintegertestservice/operations/int_model.py
+++ b/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/BodyInteger/autorestintegertestservice/operations/int_model.py
@@ -33,8 +33,7 @@ def __init__(self, client, config, serializer, deserializer):
def get_null(
self, custom_headers=None, raw=False, **operation_config):
- """
- Get null Int value
+ """Get null Int value.
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside the
@@ -77,8 +76,7 @@ def get_null(
def get_invalid(
self, custom_headers=None, raw=False, **operation_config):
- """
- Get invalid Int value
+ """Get invalid Int value.
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside the
@@ -121,8 +119,7 @@ def get_invalid(
def get_overflow_int32(
self, custom_headers=None, raw=False, **operation_config):
- """
- Get overflow Int32 value
+ """Get overflow Int32 value.
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside the
@@ -165,8 +162,7 @@ def get_overflow_int32(
def get_underflow_int32(
self, custom_headers=None, raw=False, **operation_config):
- """
- Get underflow Int32 value
+ """Get underflow Int32 value.
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside the
@@ -209,8 +205,7 @@ def get_underflow_int32(
def get_overflow_int64(
self, custom_headers=None, raw=False, **operation_config):
- """
- Get overflow Int64 value
+ """Get overflow Int64 value.
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside the
@@ -253,8 +248,7 @@ def get_overflow_int64(
def get_underflow_int64(
self, custom_headers=None, raw=False, **operation_config):
- """
- Get underflow Int64 value
+ """Get underflow Int64 value.
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside the
@@ -297,8 +291,7 @@ def get_underflow_int64(
def put_max32(
self, int_body, custom_headers=None, raw=False, **operation_config):
- """
- Put max int32 value
+ """Put max int32 value.
:param int_body:
:type int_body: int
@@ -340,8 +333,7 @@ def put_max32(
def put_max64(
self, int_body, custom_headers=None, raw=False, **operation_config):
- """
- Put max int64 value
+ """Put max int64 value.
:param int_body:
:type int_body: long
@@ -383,8 +375,7 @@ def put_max64(
def put_min32(
self, int_body, custom_headers=None, raw=False, **operation_config):
- """
- Put min int32 value
+ """Put min int32 value.
:param int_body:
:type int_body: int
@@ -426,8 +417,7 @@ def put_min32(
def put_min64(
self, int_body, custom_headers=None, raw=False, **operation_config):
- """
- Put min int64 value
+ """Put min int64 value.
:param int_body:
:type int_body: long
@@ -469,8 +459,7 @@ def put_min64(
def get_unix_time(
self, custom_headers=None, raw=False, **operation_config):
- """
- Get datetime encoded as Unix time value
+ """Get datetime encoded as Unix time value.
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside the
@@ -513,8 +502,7 @@ def get_unix_time(
def put_unix_time_date(
self, int_body, custom_headers=None, raw=False, **operation_config):
- """
- Put datetime encoded as Unix time
+ """Put datetime encoded as Unix time.
:param int_body:
:type int_body: datetime
@@ -556,8 +544,7 @@ def put_unix_time_date(
def get_invalid_unix_time(
self, custom_headers=None, raw=False, **operation_config):
- """
- Get invalid Unix time value
+ """Get invalid Unix time value.
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside the
@@ -600,8 +587,7 @@ def get_invalid_unix_time(
def get_null_unix_time(
self, custom_headers=None, raw=False, **operation_config):
- """
- Get null Unix time value
+ """Get null Unix time value.
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside the
diff --git a/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/BodyNumber/autorestnumbertestservice/models/error.py b/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/BodyNumber/autorestnumbertestservice/models/error.py
index c2d19e377e..eb6c5cdea9 100644
--- a/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/BodyNumber/autorestnumbertestservice/models/error.py
+++ b/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/BodyNumber/autorestnumbertestservice/models/error.py
@@ -14,7 +14,7 @@
class Error(Model):
- """Error
+ """Error.
:param status:
:type status: int
diff --git a/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/BodyNumber/autorestnumbertestservice/operations/number.py b/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/BodyNumber/autorestnumbertestservice/operations/number.py
index 9afbf132ed..f8566de980 100644
--- a/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/BodyNumber/autorestnumbertestservice/operations/number.py
+++ b/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/BodyNumber/autorestnumbertestservice/operations/number.py
@@ -33,8 +33,7 @@ def __init__(self, client, config, serializer, deserializer):
def get_null(
self, custom_headers=None, raw=False, **operation_config):
- """
- Get null Number value
+ """Get null Number value.
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside the
@@ -77,8 +76,7 @@ def get_null(
def get_invalid_float(
self, custom_headers=None, raw=False, **operation_config):
- """
- Get invalid float Number value
+ """Get invalid float Number value.
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside the
@@ -121,8 +119,7 @@ def get_invalid_float(
def get_invalid_double(
self, custom_headers=None, raw=False, **operation_config):
- """
- Get invalid double Number value
+ """Get invalid double Number value.
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside the
@@ -165,8 +162,7 @@ def get_invalid_double(
def get_invalid_decimal(
self, custom_headers=None, raw=False, **operation_config):
- """
- Get invalid decimal Number value
+ """Get invalid decimal Number value.
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside the
@@ -209,8 +205,7 @@ def get_invalid_decimal(
def put_big_float(
self, number_body, custom_headers=None, raw=False, **operation_config):
- """
- Put big float value 3.402823e+20
+ """Put big float value 3.402823e+20.
:param number_body:
:type number_body: float
@@ -252,8 +247,7 @@ def put_big_float(
def get_big_float(
self, custom_headers=None, raw=False, **operation_config):
- """
- Get big float value 3.402823e+20
+ """Get big float value 3.402823e+20.
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside the
@@ -296,8 +290,7 @@ def get_big_float(
def put_big_double(
self, number_body, custom_headers=None, raw=False, **operation_config):
- """
- Put big double value 2.5976931e+101
+ """Put big double value 2.5976931e+101.
:param number_body:
:type number_body: float
@@ -339,8 +332,7 @@ def put_big_double(
def get_big_double(
self, custom_headers=None, raw=False, **operation_config):
- """
- Get big double value 2.5976931e+101
+ """Get big double value 2.5976931e+101.
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside the
@@ -383,8 +375,7 @@ def get_big_double(
def put_big_double_positive_decimal(
self, number_body, custom_headers=None, raw=False, **operation_config):
- """
- Put big double value 99999999.99
+ """Put big double value 99999999.99.
:param number_body:
:type number_body: float
@@ -426,8 +417,7 @@ def put_big_double_positive_decimal(
def get_big_double_positive_decimal(
self, custom_headers=None, raw=False, **operation_config):
- """
- Get big double value 99999999.99
+ """Get big double value 99999999.99.
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside the
@@ -470,8 +460,7 @@ def get_big_double_positive_decimal(
def put_big_double_negative_decimal(
self, number_body, custom_headers=None, raw=False, **operation_config):
- """
- Put big double value -99999999.99
+ """Put big double value -99999999.99.
:param number_body:
:type number_body: float
@@ -513,8 +502,7 @@ def put_big_double_negative_decimal(
def get_big_double_negative_decimal(
self, custom_headers=None, raw=False, **operation_config):
- """
- Get big double value -99999999.99
+ """Get big double value -99999999.99.
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside the
@@ -557,8 +545,7 @@ def get_big_double_negative_decimal(
def put_big_decimal(
self, number_body, custom_headers=None, raw=False, **operation_config):
- """
- Put big decimal value 2.5976931e+101
+ """Put big decimal value 2.5976931e+101.
:param number_body:
:type number_body: decimal
@@ -600,8 +587,7 @@ def put_big_decimal(
def get_big_decimal(
self, custom_headers=None, raw=False, **operation_config):
- """
- Get big decimal value 2.5976931e+101
+ """Get big decimal value 2.5976931e+101.
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside the
@@ -644,8 +630,7 @@ def get_big_decimal(
def put_big_decimal_positive_decimal(
self, number_body, custom_headers=None, raw=False, **operation_config):
- """
- Put big decimal value 99999999.99
+ """Put big decimal value 99999999.99.
:param number_body:
:type number_body: decimal
@@ -687,8 +672,7 @@ def put_big_decimal_positive_decimal(
def get_big_decimal_positive_decimal(
self, custom_headers=None, raw=False, **operation_config):
- """
- Get big decimal value 99999999.99
+ """Get big decimal value 99999999.99.
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside the
@@ -731,8 +715,7 @@ def get_big_decimal_positive_decimal(
def put_big_decimal_negative_decimal(
self, number_body, custom_headers=None, raw=False, **operation_config):
- """
- Put big decimal value -99999999.99
+ """Put big decimal value -99999999.99.
:param number_body:
:type number_body: decimal
@@ -774,8 +757,7 @@ def put_big_decimal_negative_decimal(
def get_big_decimal_negative_decimal(
self, custom_headers=None, raw=False, **operation_config):
- """
- Get big decimal value -99999999.99
+ """Get big decimal value -99999999.99.
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside the
@@ -818,8 +800,7 @@ def get_big_decimal_negative_decimal(
def put_small_float(
self, number_body, custom_headers=None, raw=False, **operation_config):
- """
- Put small float value 3.402823e-20
+ """Put small float value 3.402823e-20.
:param number_body:
:type number_body: float
@@ -861,8 +842,7 @@ def put_small_float(
def get_small_float(
self, custom_headers=None, raw=False, **operation_config):
- """
- Get big double value 3.402823e-20
+ """Get big double value 3.402823e-20.
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside the
@@ -905,8 +885,7 @@ def get_small_float(
def put_small_double(
self, number_body, custom_headers=None, raw=False, **operation_config):
- """
- Put small double value 2.5976931e-101
+ """Put small double value 2.5976931e-101.
:param number_body:
:type number_body: float
@@ -948,8 +927,7 @@ def put_small_double(
def get_small_double(
self, custom_headers=None, raw=False, **operation_config):
- """
- Get big double value 2.5976931e-101
+ """Get big double value 2.5976931e-101.
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside the
@@ -992,8 +970,7 @@ def get_small_double(
def put_small_decimal(
self, number_body, custom_headers=None, raw=False, **operation_config):
- """
- Put small decimal value 2.5976931e-101
+ """Put small decimal value 2.5976931e-101.
:param number_body:
:type number_body: decimal
@@ -1035,8 +1012,7 @@ def put_small_decimal(
def get_small_decimal(
self, custom_headers=None, raw=False, **operation_config):
- """
- Get small decimal value 2.5976931e-101
+ """Get small decimal value 2.5976931e-101.
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside the
diff --git a/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/BodyString/autorestswaggerbatservice/models/error.py b/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/BodyString/autorestswaggerbatservice/models/error.py
index c2d19e377e..eb6c5cdea9 100644
--- a/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/BodyString/autorestswaggerbatservice/models/error.py
+++ b/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/BodyString/autorestswaggerbatservice/models/error.py
@@ -14,7 +14,7 @@
class Error(Model):
- """Error
+ """Error.
:param status:
:type status: int
diff --git a/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/BodyString/autorestswaggerbatservice/operations/enum.py b/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/BodyString/autorestswaggerbatservice/operations/enum.py
index 926e8b418f..5b59131418 100644
--- a/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/BodyString/autorestswaggerbatservice/operations/enum.py
+++ b/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/BodyString/autorestswaggerbatservice/operations/enum.py
@@ -33,8 +33,7 @@ def __init__(self, client, config, serializer, deserializer):
def get_not_expandable(
self, custom_headers=None, raw=False, **operation_config):
- """
- Get enum value 'red color' from enumeration of 'red color',
+ """Get enum value 'red color' from enumeration of 'red color',
'green-color', 'blue_color'.
:param dict custom_headers: headers that will be added to the request
@@ -79,9 +78,8 @@ def get_not_expandable(
def put_not_expandable(
self, string_body, custom_headers=None, raw=False, **operation_config):
- """
- Sends value 'red color' from enumeration of 'red color',
- 'green-color', 'blue_color'
+ """Sends value 'red color' from enumeration of 'red color',
+ 'green-color', 'blue_color'.
:param string_body: Possible values include: 'red color',
'green-color', 'blue_color'
diff --git a/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/BodyString/autorestswaggerbatservice/operations/string.py b/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/BodyString/autorestswaggerbatservice/operations/string.py
index 09a9762763..6763420e1d 100644
--- a/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/BodyString/autorestswaggerbatservice/operations/string.py
+++ b/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/BodyString/autorestswaggerbatservice/operations/string.py
@@ -33,8 +33,7 @@ def __init__(self, client, config, serializer, deserializer):
def get_null(
self, custom_headers=None, raw=False, **operation_config):
- """
- Get null string value value
+ """Get null string value value.
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside the
@@ -77,8 +76,7 @@ def get_null(
def put_null(
self, string_body=None, custom_headers=None, raw=False, **operation_config):
- """
- Set string value null
+ """Set string value null.
:param string_body: Possible values include: ''
:type string_body: str
@@ -123,8 +121,7 @@ def put_null(
def get_empty(
self, custom_headers=None, raw=False, **operation_config):
- """
- Get empty string value value ''
+ """Get empty string value value ''.
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside the
@@ -167,8 +164,7 @@ def get_empty(
def put_empty(
self, string_body, custom_headers=None, raw=False, **operation_config):
- """
- Set string value empty ''
+ """Set string value empty ''.
:param string_body: Possible values include: ''
:type string_body: str
@@ -210,10 +206,9 @@ def put_empty(
def get_mbcs(
self, custom_headers=None, raw=False, **operation_config):
- """
- Get mbcs string value
+ """Get mbcs string value
'啊齄丂狛狜隣郎隣兀﨩ˊ▇█〞〡¦℡㈱‐ー﹡﹢﹫、〓ⅰⅹ⒈€㈠㈩ⅠⅫ! ̄ぁんァヶΑ︴АЯаяāɡㄅㄩ─╋︵﹄︻︱︳︴ⅰⅹɑɡ〇〾⿻⺁䜣€
- '
+ '.
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside the
@@ -256,10 +251,9 @@ def get_mbcs(
def put_mbcs(
self, string_body, custom_headers=None, raw=False, **operation_config):
- """
- Set string value mbcs
+ """Set string value mbcs
'啊齄丂狛狜隣郎隣兀﨩ˊ▇█〞〡¦℡㈱‐ー﹡﹢﹫、〓ⅰⅹ⒈€㈠㈩ⅠⅫ! ̄ぁんァヶΑ︴АЯаяāɡㄅㄩ─╋︵﹄︻︱︳︴ⅰⅹɑɡ〇〾⿻⺁䜣€
- '
+ '.
:param string_body: Possible values include:
'啊齄丂狛狜隣郎隣兀﨩ˊ▇█〞〡¦℡㈱‐ー﹡﹢﹫、〓ⅰⅹ⒈€㈠㈩ⅠⅫ! ̄ぁんァヶΑ︴АЯаяāɡㄅㄩ─╋︵﹄︻︱︳︴ⅰⅹɑɡ〇〾⿻⺁䜣€
@@ -303,10 +297,9 @@ def put_mbcs(
def get_whitespace(
self, custom_headers=None, raw=False, **operation_config):
- """
- Get string value with leading and trailing whitespace
+ """Get string value with leading and trailing whitespace
'Now is the time for all good men to come to the
- aid of their country'
+ aid of their country'.
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside the
@@ -349,10 +342,9 @@ def get_whitespace(
def put_whitespace(
self, string_body, custom_headers=None, raw=False, **operation_config):
- """
- Set String value with leading and trailing whitespace
+ """Set String value with leading and trailing whitespace
'Now is the time for all good men to come to the
- aid of their country'
+ aid of their country'.
:param string_body: Possible values include: ' Now is the time for
all good men to come to the aid of their country '
@@ -395,8 +387,7 @@ def put_whitespace(
def get_not_provided(
self, custom_headers=None, raw=False, **operation_config):
- """
- Get String value when no string value is sent in response payload
+ """Get String value when no string value is sent in response payload.
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside the
@@ -439,8 +430,7 @@ def get_not_provided(
def get_base64_encoded(
self, custom_headers=None, raw=False, **operation_config):
- """
- Get value that is base64 encoded
+ """Get value that is base64 encoded.
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside the
@@ -483,8 +473,7 @@ def get_base64_encoded(
def get_base64_url_encoded(
self, custom_headers=None, raw=False, **operation_config):
- """
- Get value that is base64url encoded
+ """Get value that is base64url encoded.
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside the
@@ -527,8 +516,7 @@ def get_base64_url_encoded(
def put_base64_url_encoded(
self, string_body, custom_headers=None, raw=False, **operation_config):
- """
- Put value that is base64url encoded
+ """Put value that is base64url encoded.
:param string_body:
:type string_body: bytes
@@ -570,8 +558,7 @@ def put_base64_url_encoded(
def get_null_base64_url_encoded(
self, custom_headers=None, raw=False, **operation_config):
- """
- Get null value that is expected to be base64url encoded
+ """Get null value that is expected to be base64url encoded.
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside the
diff --git a/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/CustomBaseUri/autorestparameterizedhosttestclient/models/error.py b/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/CustomBaseUri/autorestparameterizedhosttestclient/models/error.py
index c2d19e377e..eb6c5cdea9 100644
--- a/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/CustomBaseUri/autorestparameterizedhosttestclient/models/error.py
+++ b/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/CustomBaseUri/autorestparameterizedhosttestclient/models/error.py
@@ -14,7 +14,7 @@
class Error(Model):
- """Error
+ """Error.
:param status:
:type status: int
diff --git a/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/CustomBaseUri/autorestparameterizedhosttestclient/operations/paths.py b/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/CustomBaseUri/autorestparameterizedhosttestclient/operations/paths.py
index 478f2a330a..44c5c42dea 100644
--- a/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/CustomBaseUri/autorestparameterizedhosttestclient/operations/paths.py
+++ b/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/CustomBaseUri/autorestparameterizedhosttestclient/operations/paths.py
@@ -33,8 +33,7 @@ def __init__(self, client, config, serializer, deserializer):
def get_empty(
self, account_name, custom_headers=None, raw=False, **operation_config):
- """
- Get a 200 to test a valid base uri
+ """Get a 200 to test a valid base uri.
:param account_name: Account Name
:type account_name: str
diff --git a/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/CustomBaseUriMoreOptions/autorestparameterizedcustomhosttestclient/models/error.py b/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/CustomBaseUriMoreOptions/autorestparameterizedcustomhosttestclient/models/error.py
index c2d19e377e..eb6c5cdea9 100644
--- a/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/CustomBaseUriMoreOptions/autorestparameterizedcustomhosttestclient/models/error.py
+++ b/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/CustomBaseUriMoreOptions/autorestparameterizedcustomhosttestclient/models/error.py
@@ -14,7 +14,7 @@
class Error(Model):
- """Error
+ """Error.
:param status:
:type status: int
diff --git a/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/CustomBaseUriMoreOptions/autorestparameterizedcustomhosttestclient/operations/paths.py b/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/CustomBaseUriMoreOptions/autorestparameterizedcustomhosttestclient/operations/paths.py
index 5d17c7e4a6..ed10e919ea 100644
--- a/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/CustomBaseUriMoreOptions/autorestparameterizedcustomhosttestclient/operations/paths.py
+++ b/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/CustomBaseUriMoreOptions/autorestparameterizedcustomhosttestclient/operations/paths.py
@@ -33,8 +33,7 @@ def __init__(self, client, config, serializer, deserializer):
def get_empty(
self, vault, secret, key_name, key_version="v1", custom_headers=None, raw=False, **operation_config):
- """
- Get a 200 to test a valid base uri
+ """Get a 200 to test a valid base uri.
:param vault: The vault name, e.g. https://myvault
:type vault: str
diff --git a/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/Header/autorestswaggerbatheaderservice/models/error.py b/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/Header/autorestswaggerbatheaderservice/models/error.py
index c2d19e377e..eb6c5cdea9 100644
--- a/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/Header/autorestswaggerbatheaderservice/models/error.py
+++ b/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/Header/autorestswaggerbatheaderservice/models/error.py
@@ -14,7 +14,7 @@
class Error(Model):
- """Error
+ """Error.
:param status:
:type status: int
diff --git a/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/Header/autorestswaggerbatheaderservice/operations/header.py b/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/Header/autorestswaggerbatheaderservice/operations/header.py
index a44d856991..7a5585c8e1 100644
--- a/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/Header/autorestswaggerbatheaderservice/operations/header.py
+++ b/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/Header/autorestswaggerbatheaderservice/operations/header.py
@@ -33,8 +33,7 @@ def __init__(self, client, config, serializer, deserializer):
def param_existing_key(
self, user_agent, custom_headers=None, raw=False, **operation_config):
- """
- Send a post request with header value "User-Agent": "overwrite"
+ """Send a post request with header value "User-Agent": "overwrite".
:param user_agent: Send a post request with header value
"User-Agent": "overwrite"
@@ -74,8 +73,7 @@ def param_existing_key(
def response_existing_key(
self, custom_headers=None, raw=False, **operation_config):
- """
- Get a response with header value "User-Agent": "overwrite"
+ """Get a response with header value "User-Agent": "overwrite".
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside the
@@ -114,8 +112,7 @@ def response_existing_key(
def param_protected_key(
self, content_type, custom_headers=None, raw=False, **operation_config):
- """
- Send a post request with header value "Content-Type": "text/html"
+ """Send a post request with header value "Content-Type": "text/html".
:param content_type: Send a post request with header value
"Content-Type": "text/html"
@@ -155,8 +152,7 @@ def param_protected_key(
def response_protected_key(
self, custom_headers=None, raw=False, **operation_config):
- """
- Get a response with header value "Content-Type": "text/html"
+ """Get a response with header value "Content-Type": "text/html".
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside the
@@ -195,9 +191,8 @@ def response_protected_key(
def param_integer(
self, scenario, value, custom_headers=None, raw=False, **operation_config):
- """
- Send a post request with header values "scenario": "positive",
- "value": 1 or "scenario": "negative", "value": -2
+ """Send a post request with header values "scenario": "positive",
+ "value": 1 or "scenario": "negative", "value": -2 .
:param scenario: Send a post request with header values "scenario":
"positive" or "negative"
@@ -240,8 +235,7 @@ def param_integer(
def response_integer(
self, scenario, custom_headers=None, raw=False, **operation_config):
- """
- Get a response with header value "value": 1 or -2
+ """Get a response with header value "value": 1 or -2.
:param scenario: Send a post request with header values "scenario":
"positive" or "negative"
@@ -284,9 +278,8 @@ def response_integer(
def param_long(
self, scenario, value, custom_headers=None, raw=False, **operation_config):
- """
- Send a post request with header values "scenario": "positive",
- "value": 105 or "scenario": "negative", "value": -2
+ """Send a post request with header values "scenario": "positive",
+ "value": 105 or "scenario": "negative", "value": -2 .
:param scenario: Send a post request with header values "scenario":
"positive" or "negative"
@@ -329,8 +322,7 @@ def param_long(
def response_long(
self, scenario, custom_headers=None, raw=False, **operation_config):
- """
- Get a response with header value "value": 105 or -2
+ """Get a response with header value "value": 105 or -2.
:param scenario: Send a post request with header values "scenario":
"positive" or "negative"
@@ -373,9 +365,8 @@ def response_long(
def param_float(
self, scenario, value, custom_headers=None, raw=False, **operation_config):
- """
- Send a post request with header values "scenario": "positive",
- "value": 0.07 or "scenario": "negative", "value": -3.0
+ """Send a post request with header values "scenario": "positive",
+ "value": 0.07 or "scenario": "negative", "value": -3.0.
:param scenario: Send a post request with header values "scenario":
"positive" or "negative"
@@ -418,8 +409,7 @@ def param_float(
def response_float(
self, scenario, custom_headers=None, raw=False, **operation_config):
- """
- Get a response with header value "value": 0.07 or -3.0
+ """Get a response with header value "value": 0.07 or -3.0.
:param scenario: Send a post request with header values "scenario":
"positive" or "negative"
@@ -462,9 +452,8 @@ def response_float(
def param_double(
self, scenario, value, custom_headers=None, raw=False, **operation_config):
- """
- Send a post request with header values "scenario": "positive",
- "value": 7e120 or "scenario": "negative", "value": -3.0
+ """Send a post request with header values "scenario": "positive",
+ "value": 7e120 or "scenario": "negative", "value": -3.0.
:param scenario: Send a post request with header values "scenario":
"positive" or "negative"
@@ -507,8 +496,7 @@ def param_double(
def response_double(
self, scenario, custom_headers=None, raw=False, **operation_config):
- """
- Get a response with header value "value": 7e120 or -3.0
+ """Get a response with header value "value": 7e120 or -3.0.
:param scenario: Send a post request with header values "scenario":
"positive" or "negative"
@@ -551,9 +539,8 @@ def response_double(
def param_bool(
self, scenario, value, custom_headers=None, raw=False, **operation_config):
- """
- Send a post request with header values "scenario": "true", "value":
- true or "scenario": "false", "value": false
+ """Send a post request with header values "scenario": "true", "value":
+ true or "scenario": "false", "value": false.
:param scenario: Send a post request with header values "scenario":
"true" or "false"
@@ -596,8 +583,7 @@ def param_bool(
def response_bool(
self, scenario, custom_headers=None, raw=False, **operation_config):
- """
- Get a response with header value "value": true or false
+ """Get a response with header value "value": true or false.
:param scenario: Send a post request with header values "scenario":
"true" or "false"
@@ -640,10 +626,9 @@ def response_bool(
def param_string(
self, scenario, value=None, custom_headers=None, raw=False, **operation_config):
- """
- Send a post request with header values "scenario": "valid", "value":
+ """Send a post request with header values "scenario": "valid", "value":
"The quick brown fox jumps over the lazy dog" or "scenario": "null",
- "value": null or "scenario": "empty", "value": ""
+ "value": null or "scenario": "empty", "value": "".
:param scenario: Send a post request with header values "scenario":
"valid" or "null" or "empty"
@@ -688,9 +673,8 @@ def param_string(
def response_string(
self, scenario, custom_headers=None, raw=False, **operation_config):
- """
- Get a response with header values "The quick brown fox jumps over the
- lazy dog" or null or ""
+ """Get a response with header values "The quick brown fox jumps over the
+ lazy dog" or null or "".
:param scenario: Send a post request with header values "scenario":
"valid" or "null" or "empty"
@@ -733,9 +717,8 @@ def response_string(
def param_date(
self, scenario, value, custom_headers=None, raw=False, **operation_config):
- """
- Send a post request with header values "scenario": "valid", "value":
- "2010-01-01" or "scenario": "min", "value": "0001-01-01"
+ """Send a post request with header values "scenario": "valid", "value":
+ "2010-01-01" or "scenario": "min", "value": "0001-01-01".
:param scenario: Send a post request with header values "scenario":
"valid" or "min"
@@ -779,8 +762,7 @@ def param_date(
def response_date(
self, scenario, custom_headers=None, raw=False, **operation_config):
- """
- Get a response with header values "2010-01-01" or "0001-01-01"
+ """Get a response with header values "2010-01-01" or "0001-01-01".
:param scenario: Send a post request with header values "scenario":
"valid" or "min"
@@ -823,10 +805,9 @@ def response_date(
def param_datetime(
self, scenario, value, custom_headers=None, raw=False, **operation_config):
- """
- Send a post request with header values "scenario": "valid", "value":
+ """Send a post request with header values "scenario": "valid", "value":
"2010-01-01T12:34:56Z" or "scenario": "min", "value":
- "0001-01-01T00:00:00Z"
+ "0001-01-01T00:00:00Z".
:param scenario: Send a post request with header values "scenario":
"valid" or "min"
@@ -870,9 +851,8 @@ def param_datetime(
def response_datetime(
self, scenario, custom_headers=None, raw=False, **operation_config):
- """
- Get a response with header values "2010-01-01T12:34:56Z" or
- "0001-01-01T00:00:00Z"
+ """Get a response with header values "2010-01-01T12:34:56Z" or
+ "0001-01-01T00:00:00Z".
:param scenario: Send a post request with header values "scenario":
"valid" or "min"
@@ -915,10 +895,9 @@ def response_datetime(
def param_datetime_rfc1123(
self, scenario, value=None, custom_headers=None, raw=False, **operation_config):
- """
- Send a post request with header values "scenario": "valid", "value":
+ """Send a post request with header values "scenario": "valid", "value":
"Wed, 01 Jan 2010 12:34:56 GMT" or "scenario": "min", "value": "Mon,
- 01 Jan 0001 00:00:00 GMT"
+ 01 Jan 0001 00:00:00 GMT".
:param scenario: Send a post request with header values "scenario":
"valid" or "min"
@@ -963,9 +942,8 @@ def param_datetime_rfc1123(
def response_datetime_rfc1123(
self, scenario, custom_headers=None, raw=False, **operation_config):
- """
- Get a response with header values "Wed, 01 Jan 2010 12:34:56 GMT" or
- "Mon, 01 Jan 0001 00:00:00 GMT"
+ """Get a response with header values "Wed, 01 Jan 2010 12:34:56 GMT" or
+ "Mon, 01 Jan 0001 00:00:00 GMT".
:param scenario: Send a post request with header values "scenario":
"valid" or "min"
@@ -1008,9 +986,8 @@ def response_datetime_rfc1123(
def param_duration(
self, scenario, value, custom_headers=None, raw=False, **operation_config):
- """
- Send a post request with header values "scenario": "valid", "value":
- "P123DT22H14M12.011S"
+ """Send a post request with header values "scenario": "valid", "value":
+ "P123DT22H14M12.011S".
:param scenario: Send a post request with header values "scenario":
"valid"
@@ -1054,8 +1031,7 @@ def param_duration(
def response_duration(
self, scenario, custom_headers=None, raw=False, **operation_config):
- """
- Get a response with header values "P123DT22H14M12.011S"
+ """Get a response with header values "P123DT22H14M12.011S".
:param scenario: Send a post request with header values "scenario":
"valid"
@@ -1098,9 +1074,8 @@ def response_duration(
def param_byte(
self, scenario, value, custom_headers=None, raw=False, **operation_config):
- """
- Send a post request with header values "scenario": "valid", "value":
- "啊齄丂狛狜隣郎隣兀﨩"
+ """Send a post request with header values "scenario": "valid", "value":
+ "啊齄丂狛狜隣郎隣兀﨩".
:param scenario: Send a post request with header values "scenario":
"valid"
@@ -1143,8 +1118,7 @@ def param_byte(
def response_byte(
self, scenario, custom_headers=None, raw=False, **operation_config):
- """
- Get a response with header values "啊齄丂狛狜隣郎隣兀﨩"
+ """Get a response with header values "啊齄丂狛狜隣郎隣兀﨩".
:param scenario: Send a post request with header values "scenario":
"valid"
@@ -1187,9 +1161,8 @@ def response_byte(
def param_enum(
self, scenario, value=None, custom_headers=None, raw=False, **operation_config):
- """
- Send a post request with header values "scenario": "valid", "value":
- "GREY" or "scenario": "null", "value": null
+ """Send a post request with header values "scenario": "valid", "value":
+ "GREY" or "scenario": "null", "value": null.
:param scenario: Send a post request with header values "scenario":
"valid" or "null" or "empty"
@@ -1235,8 +1208,7 @@ def param_enum(
def response_enum(
self, scenario, custom_headers=None, raw=False, **operation_config):
- """
- Get a response with header values "GREY" or null
+ """Get a response with header values "GREY" or null.
:param scenario: Send a post request with header values "scenario":
"valid" or "null" or "empty"
@@ -1279,9 +1251,8 @@ def response_enum(
def custom_request_id(
self, custom_headers=None, raw=False, **operation_config):
- """
- Send x-ms-client-request-id = 9C4D50EE-2D56-4CD3-8152-34347DC9F2B0 in
- the header of the request
+ """Send x-ms-client-request-id = 9C4D50EE-2D56-4CD3-8152-34347DC9F2B0 in
+ the header of the request.
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside the
diff --git a/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/Http/autoresthttpinfrastructuretestservice/models/a.py b/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/Http/autoresthttpinfrastructuretestservice/models/a.py
index f6baf6ea42..096cfc5e37 100644
--- a/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/Http/autoresthttpinfrastructuretestservice/models/a.py
+++ b/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/Http/autoresthttpinfrastructuretestservice/models/a.py
@@ -14,7 +14,7 @@
class A(Model):
- """A
+ """A.
:param status_code:
:type status_code: str
diff --git a/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/Http/autoresthttpinfrastructuretestservice/models/b.py b/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/Http/autoresthttpinfrastructuretestservice/models/b.py
index 0853087e7d..aca8283c9c 100644
--- a/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/Http/autoresthttpinfrastructuretestservice/models/b.py
+++ b/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/Http/autoresthttpinfrastructuretestservice/models/b.py
@@ -13,7 +13,7 @@
class B(A):
- """B
+ """B.
:param status_code:
:type status_code: str
diff --git a/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/Http/autoresthttpinfrastructuretestservice/models/c.py b/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/Http/autoresthttpinfrastructuretestservice/models/c.py
index 2e23c31e92..77ad45bbc3 100644
--- a/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/Http/autoresthttpinfrastructuretestservice/models/c.py
+++ b/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/Http/autoresthttpinfrastructuretestservice/models/c.py
@@ -13,7 +13,7 @@
class C(Model):
- """C
+ """C.
:param http_code:
:type http_code: str
diff --git a/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/Http/autoresthttpinfrastructuretestservice/models/d.py b/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/Http/autoresthttpinfrastructuretestservice/models/d.py
index 8b32eef124..595d34f978 100644
--- a/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/Http/autoresthttpinfrastructuretestservice/models/d.py
+++ b/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/Http/autoresthttpinfrastructuretestservice/models/d.py
@@ -13,7 +13,7 @@
class D(Model):
- """D
+ """D.
:param http_status_code:
:type http_status_code: str
diff --git a/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/Http/autoresthttpinfrastructuretestservice/models/error.py b/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/Http/autoresthttpinfrastructuretestservice/models/error.py
index c2d19e377e..eb6c5cdea9 100644
--- a/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/Http/autoresthttpinfrastructuretestservice/models/error.py
+++ b/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/Http/autoresthttpinfrastructuretestservice/models/error.py
@@ -14,7 +14,7 @@
class Error(Model):
- """Error
+ """Error.
:param status:
:type status: int
diff --git a/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/Http/autoresthttpinfrastructuretestservice/operations/http_client_failure.py b/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/Http/autoresthttpinfrastructuretestservice/operations/http_client_failure.py
index ec65a8c9a8..1e7d867b8c 100644
--- a/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/Http/autoresthttpinfrastructuretestservice/operations/http_client_failure.py
+++ b/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/Http/autoresthttpinfrastructuretestservice/operations/http_client_failure.py
@@ -33,9 +33,8 @@ def __init__(self, client, config, serializer, deserializer):
def head400(
self, custom_headers=None, raw=False, **operation_config):
- """
- Return 400 status code - should be represented in the client as an
- error
+ """Return 400 status code - should be represented in the client as an
+ error.
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside the
@@ -71,9 +70,8 @@ def head400(
def get400(
self, custom_headers=None, raw=False, **operation_config):
- """
- Return 400 status code - should be represented in the client as an
- error
+ """Return 400 status code - should be represented in the client as an
+ error.
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside the
@@ -109,9 +107,8 @@ def get400(
def put400(
self, boolean_value=None, custom_headers=None, raw=False, **operation_config):
- """
- Return 400 status code - should be represented in the client as an
- error
+ """Return 400 status code - should be represented in the client as an
+ error.
:param boolean_value: Simple boolean value true
:type boolean_value: bool
@@ -156,9 +153,8 @@ def put400(
def patch400(
self, boolean_value=None, custom_headers=None, raw=False, **operation_config):
- """
- Return 400 status code - should be represented in the client as an
- error
+ """Return 400 status code - should be represented in the client as an
+ error.
:param boolean_value: Simple boolean value true
:type boolean_value: bool
@@ -203,9 +199,8 @@ def patch400(
def post400(
self, boolean_value=None, custom_headers=None, raw=False, **operation_config):
- """
- Return 400 status code - should be represented in the client as an
- error
+ """Return 400 status code - should be represented in the client as an
+ error.
:param boolean_value: Simple boolean value true
:type boolean_value: bool
@@ -250,9 +245,8 @@ def post400(
def delete400(
self, boolean_value=None, custom_headers=None, raw=False, **operation_config):
- """
- Return 400 status code - should be represented in the client as an
- error
+ """Return 400 status code - should be represented in the client as an
+ error.
:param boolean_value: Simple boolean value true
:type boolean_value: bool
@@ -297,9 +291,8 @@ def delete400(
def head401(
self, custom_headers=None, raw=False, **operation_config):
- """
- Return 401 status code - should be represented in the client as an
- error
+ """Return 401 status code - should be represented in the client as an
+ error.
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside the
@@ -335,9 +328,8 @@ def head401(
def get402(
self, custom_headers=None, raw=False, **operation_config):
- """
- Return 402 status code - should be represented in the client as an
- error
+ """Return 402 status code - should be represented in the client as an
+ error.
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside the
@@ -373,9 +365,8 @@ def get402(
def get403(
self, custom_headers=None, raw=False, **operation_config):
- """
- Return 403 status code - should be represented in the client as an
- error
+ """Return 403 status code - should be represented in the client as an
+ error.
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside the
@@ -411,9 +402,8 @@ def get403(
def put404(
self, boolean_value=None, custom_headers=None, raw=False, **operation_config):
- """
- Return 404 status code - should be represented in the client as an
- error
+ """Return 404 status code - should be represented in the client as an
+ error.
:param boolean_value: Simple boolean value true
:type boolean_value: bool
@@ -458,9 +448,8 @@ def put404(
def patch405(
self, boolean_value=None, custom_headers=None, raw=False, **operation_config):
- """
- Return 405 status code - should be represented in the client as an
- error
+ """Return 405 status code - should be represented in the client as an
+ error.
:param boolean_value: Simple boolean value true
:type boolean_value: bool
@@ -505,9 +494,8 @@ def patch405(
def post406(
self, boolean_value=None, custom_headers=None, raw=False, **operation_config):
- """
- Return 406 status code - should be represented in the client as an
- error
+ """Return 406 status code - should be represented in the client as an
+ error.
:param boolean_value: Simple boolean value true
:type boolean_value: bool
@@ -552,9 +540,8 @@ def post406(
def delete407(
self, boolean_value=None, custom_headers=None, raw=False, **operation_config):
- """
- Return 407 status code - should be represented in the client as an
- error
+ """Return 407 status code - should be represented in the client as an
+ error.
:param boolean_value: Simple boolean value true
:type boolean_value: bool
@@ -599,9 +586,8 @@ def delete407(
def put409(
self, boolean_value=None, custom_headers=None, raw=False, **operation_config):
- """
- Return 409 status code - should be represented in the client as an
- error
+ """Return 409 status code - should be represented in the client as an
+ error.
:param boolean_value: Simple boolean value true
:type boolean_value: bool
@@ -646,9 +632,8 @@ def put409(
def head410(
self, custom_headers=None, raw=False, **operation_config):
- """
- Return 410 status code - should be represented in the client as an
- error
+ """Return 410 status code - should be represented in the client as an
+ error.
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside the
@@ -684,9 +669,8 @@ def head410(
def get411(
self, custom_headers=None, raw=False, **operation_config):
- """
- Return 411 status code - should be represented in the client as an
- error
+ """Return 411 status code - should be represented in the client as an
+ error.
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside the
@@ -722,9 +706,8 @@ def get411(
def get412(
self, custom_headers=None, raw=False, **operation_config):
- """
- Return 412 status code - should be represented in the client as an
- error
+ """Return 412 status code - should be represented in the client as an
+ error.
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside the
@@ -760,9 +743,8 @@ def get412(
def put413(
self, boolean_value=None, custom_headers=None, raw=False, **operation_config):
- """
- Return 413 status code - should be represented in the client as an
- error
+ """Return 413 status code - should be represented in the client as an
+ error.
:param boolean_value: Simple boolean value true
:type boolean_value: bool
@@ -807,9 +789,8 @@ def put413(
def patch414(
self, boolean_value=None, custom_headers=None, raw=False, **operation_config):
- """
- Return 414 status code - should be represented in the client as an
- error
+ """Return 414 status code - should be represented in the client as an
+ error.
:param boolean_value: Simple boolean value true
:type boolean_value: bool
@@ -854,9 +835,8 @@ def patch414(
def post415(
self, boolean_value=None, custom_headers=None, raw=False, **operation_config):
- """
- Return 415 status code - should be represented in the client as an
- error
+ """Return 415 status code - should be represented in the client as an
+ error.
:param boolean_value: Simple boolean value true
:type boolean_value: bool
@@ -901,9 +881,8 @@ def post415(
def get416(
self, custom_headers=None, raw=False, **operation_config):
- """
- Return 416 status code - should be represented in the client as an
- error
+ """Return 416 status code - should be represented in the client as an
+ error.
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside the
@@ -939,9 +918,8 @@ def get416(
def delete417(
self, boolean_value=None, custom_headers=None, raw=False, **operation_config):
- """
- Return 417 status code - should be represented in the client as an
- error
+ """Return 417 status code - should be represented in the client as an
+ error.
:param boolean_value: Simple boolean value true
:type boolean_value: bool
@@ -986,9 +964,8 @@ def delete417(
def head429(
self, custom_headers=None, raw=False, **operation_config):
- """
- Return 429 status code - should be represented in the client as an
- error
+ """Return 429 status code - should be represented in the client as an
+ error.
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside the
diff --git a/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/Http/autoresthttpinfrastructuretestservice/operations/http_failure.py b/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/Http/autoresthttpinfrastructuretestservice/operations/http_failure.py
index 52f9489f48..4f6d52a7b6 100644
--- a/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/Http/autoresthttpinfrastructuretestservice/operations/http_failure.py
+++ b/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/Http/autoresthttpinfrastructuretestservice/operations/http_failure.py
@@ -34,8 +34,7 @@ def __init__(self, client, config, serializer, deserializer):
def get_empty_error(
self, custom_headers=None, raw=False, **operation_config):
- """
- Get empty error form server
+ """Get empty error form server.
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside the
@@ -78,8 +77,7 @@ def get_empty_error(
def get_no_model_error(
self, custom_headers=None, raw=False, **operation_config):
- """
- Get empty error form server
+ """Get empty error form server.
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside the
diff --git a/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/Http/autoresthttpinfrastructuretestservice/operations/http_redirects.py b/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/Http/autoresthttpinfrastructuretestservice/operations/http_redirects.py
index ac3da64a46..5baf86219f 100644
--- a/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/Http/autoresthttpinfrastructuretestservice/operations/http_redirects.py
+++ b/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/Http/autoresthttpinfrastructuretestservice/operations/http_redirects.py
@@ -33,8 +33,7 @@ def __init__(self, client, config, serializer, deserializer):
def head300(
self, custom_headers=None, raw=False, **operation_config):
- """
- Return 300 status code and redirect to /http/success/200
+ """Return 300 status code and redirect to /http/success/200.
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside the
@@ -73,8 +72,7 @@ def head300(
def get300(
self, custom_headers=None, raw=False, **operation_config):
- """
- Return 300 status code and redirect to /http/success/200
+ """Return 300 status code and redirect to /http/success/200.
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside the
@@ -122,8 +120,7 @@ def get300(
def head301(
self, custom_headers=None, raw=False, **operation_config):
- """
- Return 301 status code and redirect to /http/success/200
+ """Return 301 status code and redirect to /http/success/200.
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside the
@@ -162,8 +159,7 @@ def head301(
def get301(
self, custom_headers=None, raw=False, **operation_config):
- """
- Return 301 status code and redirect to /http/success/200
+ """Return 301 status code and redirect to /http/success/200.
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside the
@@ -202,10 +198,9 @@ def get301(
def put301(
self, boolean_value=None, custom_headers=None, raw=False, **operation_config):
- """
- Put true Boolean value in request returns 301. This request should
+ """Put true Boolean value in request returns 301. This request should
not be automatically redirected, but should return the received 301
- to the caller for evaluation
+ to the caller for evaluation.
:param boolean_value: Simple boolean value true
:type boolean_value: bool
@@ -253,8 +248,7 @@ def put301(
def head302(
self, custom_headers=None, raw=False, **operation_config):
- """
- Return 302 status code and redirect to /http/success/200
+ """Return 302 status code and redirect to /http/success/200.
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside the
@@ -293,8 +287,7 @@ def head302(
def get302(
self, custom_headers=None, raw=False, **operation_config):
- """
- Return 302 status code and redirect to /http/success/200
+ """Return 302 status code and redirect to /http/success/200.
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside the
@@ -333,10 +326,9 @@ def get302(
def patch302(
self, boolean_value=None, custom_headers=None, raw=False, **operation_config):
- """
- Patch true Boolean value in request returns 302. This request should
+ """Patch true Boolean value in request returns 302. This request should
not be automatically redirected, but should return the received 302
- to the caller for evaluation
+ to the caller for evaluation.
:param boolean_value: Simple boolean value true
:type boolean_value: bool
@@ -384,10 +376,9 @@ def patch302(
def post303(
self, boolean_value=None, custom_headers=None, raw=False, **operation_config):
- """
- Post true Boolean value in request returns 303. This request should
+ """Post true Boolean value in request returns 303. This request should
be automatically redirected usign a get, ultimately returning a 200
- status code
+ status code.
:param boolean_value: Simple boolean value true
:type boolean_value: bool
@@ -435,8 +426,7 @@ def post303(
def head307(
self, custom_headers=None, raw=False, **operation_config):
- """
- Redirect with 307, resulting in a 200 success
+ """Redirect with 307, resulting in a 200 success.
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside the
@@ -475,8 +465,7 @@ def head307(
def get307(
self, custom_headers=None, raw=False, **operation_config):
- """
- Redirect get with 307, resulting in a 200 success
+ """Redirect get with 307, resulting in a 200 success.
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside the
@@ -515,8 +504,7 @@ def get307(
def put307(
self, boolean_value=None, custom_headers=None, raw=False, **operation_config):
- """
- Put redirected with 307, resulting in a 200 after redirect
+ """Put redirected with 307, resulting in a 200 after redirect.
:param boolean_value: Simple boolean value true
:type boolean_value: bool
@@ -564,8 +552,7 @@ def put307(
def patch307(
self, boolean_value=None, custom_headers=None, raw=False, **operation_config):
- """
- Patch redirected with 307, resulting in a 200 after redirect
+ """Patch redirected with 307, resulting in a 200 after redirect.
:param boolean_value: Simple boolean value true
:type boolean_value: bool
@@ -613,8 +600,7 @@ def patch307(
def post307(
self, boolean_value=None, custom_headers=None, raw=False, **operation_config):
- """
- Post redirected with 307, resulting in a 200 after redirect
+ """Post redirected with 307, resulting in a 200 after redirect.
:param boolean_value: Simple boolean value true
:type boolean_value: bool
@@ -662,8 +648,7 @@ def post307(
def delete307(
self, boolean_value=None, custom_headers=None, raw=False, **operation_config):
- """
- Delete redirected with 307, resulting in a 200 after redirect
+ """Delete redirected with 307, resulting in a 200 after redirect.
:param boolean_value: Simple boolean value true
:type boolean_value: bool
diff --git a/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/Http/autoresthttpinfrastructuretestservice/operations/http_retry.py b/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/Http/autoresthttpinfrastructuretestservice/operations/http_retry.py
index 599a89f879..3b6f6ae638 100644
--- a/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/Http/autoresthttpinfrastructuretestservice/operations/http_retry.py
+++ b/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/Http/autoresthttpinfrastructuretestservice/operations/http_retry.py
@@ -33,8 +33,7 @@ def __init__(self, client, config, serializer, deserializer):
def head408(
self, custom_headers=None, raw=False, **operation_config):
- """
- Return 408 status code, then 200 after retry
+ """Return 408 status code, then 200 after retry.
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside the
@@ -70,8 +69,7 @@ def head408(
def put500(
self, boolean_value=None, custom_headers=None, raw=False, **operation_config):
- """
- Return 500 status code, then 200 after retry
+ """Return 500 status code, then 200 after retry.
:param boolean_value: Simple boolean value true
:type boolean_value: bool
@@ -116,8 +114,7 @@ def put500(
def patch500(
self, boolean_value=None, custom_headers=None, raw=False, **operation_config):
- """
- Return 500 status code, then 200 after retry
+ """Return 500 status code, then 200 after retry.
:param boolean_value: Simple boolean value true
:type boolean_value: bool
@@ -162,8 +159,7 @@ def patch500(
def get502(
self, custom_headers=None, raw=False, **operation_config):
- """
- Return 502 status code, then 200 after retry
+ """Return 502 status code, then 200 after retry.
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside the
@@ -199,8 +195,7 @@ def get502(
def post503(
self, boolean_value=None, custom_headers=None, raw=False, **operation_config):
- """
- Return 503 status code, then 200 after retry
+ """Return 503 status code, then 200 after retry.
:param boolean_value: Simple boolean value true
:type boolean_value: bool
@@ -245,8 +240,7 @@ def post503(
def delete503(
self, boolean_value=None, custom_headers=None, raw=False, **operation_config):
- """
- Return 503 status code, then 200 after retry
+ """Return 503 status code, then 200 after retry.
:param boolean_value: Simple boolean value true
:type boolean_value: bool
@@ -291,8 +285,7 @@ def delete503(
def put504(
self, boolean_value=None, custom_headers=None, raw=False, **operation_config):
- """
- Return 504 status code, then 200 after retry
+ """Return 504 status code, then 200 after retry.
:param boolean_value: Simple boolean value true
:type boolean_value: bool
@@ -337,8 +330,7 @@ def put504(
def patch504(
self, boolean_value=None, custom_headers=None, raw=False, **operation_config):
- """
- Return 504 status code, then 200 after retry
+ """Return 504 status code, then 200 after retry.
:param boolean_value: Simple boolean value true
:type boolean_value: bool
diff --git a/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/Http/autoresthttpinfrastructuretestservice/operations/http_server_failure.py b/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/Http/autoresthttpinfrastructuretestservice/operations/http_server_failure.py
index 94181adb61..bd83490b51 100644
--- a/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/Http/autoresthttpinfrastructuretestservice/operations/http_server_failure.py
+++ b/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/Http/autoresthttpinfrastructuretestservice/operations/http_server_failure.py
@@ -33,9 +33,8 @@ def __init__(self, client, config, serializer, deserializer):
def head501(
self, custom_headers=None, raw=False, **operation_config):
- """
- Return 501 status code - should be represented in the client as an
- error
+ """Return 501 status code - should be represented in the client as an
+ error.
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside the
@@ -71,9 +70,8 @@ def head501(
def get501(
self, custom_headers=None, raw=False, **operation_config):
- """
- Return 501 status code - should be represented in the client as an
- error
+ """Return 501 status code - should be represented in the client as an
+ error.
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside the
@@ -109,9 +107,8 @@ def get501(
def post505(
self, boolean_value=None, custom_headers=None, raw=False, **operation_config):
- """
- Return 505 status code - should be represented in the client as an
- error
+ """Return 505 status code - should be represented in the client as an
+ error.
:param boolean_value: Simple boolean value true
:type boolean_value: bool
@@ -156,9 +153,8 @@ def post505(
def delete505(
self, boolean_value=None, custom_headers=None, raw=False, **operation_config):
- """
- Return 505 status code - should be represented in the client as an
- error
+ """Return 505 status code - should be represented in the client as an
+ error.
:param boolean_value: Simple boolean value true
:type boolean_value: bool
diff --git a/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/Http/autoresthttpinfrastructuretestservice/operations/http_success.py b/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/Http/autoresthttpinfrastructuretestservice/operations/http_success.py
index b5ff9b7873..55fd3419a9 100644
--- a/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/Http/autoresthttpinfrastructuretestservice/operations/http_success.py
+++ b/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/Http/autoresthttpinfrastructuretestservice/operations/http_success.py
@@ -33,8 +33,7 @@ def __init__(self, client, config, serializer, deserializer):
def head200(
self, custom_headers=None, raw=False, **operation_config):
- """
- Return 200 status code if successful
+ """Return 200 status code if successful.
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside the
@@ -70,8 +69,7 @@ def head200(
def get200(
self, custom_headers=None, raw=False, **operation_config):
- """
- Get 200 success
+ """Get 200 success.
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside the
@@ -114,8 +112,7 @@ def get200(
def put200(
self, boolean_value=None, custom_headers=None, raw=False, **operation_config):
- """
- Put boolean value true returning 200 success
+ """Put boolean value true returning 200 success.
:param boolean_value: Simple boolean value true
:type boolean_value: bool
@@ -160,8 +157,7 @@ def put200(
def patch200(
self, boolean_value=None, custom_headers=None, raw=False, **operation_config):
- """
- Patch true Boolean value in request returning 200
+ """Patch true Boolean value in request returning 200.
:param boolean_value: Simple boolean value true
:type boolean_value: bool
@@ -206,8 +202,7 @@ def patch200(
def post200(
self, boolean_value=None, custom_headers=None, raw=False, **operation_config):
- """
- Post bollean value true in request that returns a 200
+ """Post bollean value true in request that returns a 200.
:param boolean_value: Simple boolean value true
:type boolean_value: bool
@@ -252,8 +247,7 @@ def post200(
def delete200(
self, boolean_value=None, custom_headers=None, raw=False, **operation_config):
- """
- Delete simple boolean value true returns 200
+ """Delete simple boolean value true returns 200.
:param boolean_value: Simple boolean value true
:type boolean_value: bool
@@ -298,8 +292,7 @@ def delete200(
def put201(
self, boolean_value=None, custom_headers=None, raw=False, **operation_config):
- """
- Put true Boolean value in request returns 201
+ """Put true Boolean value in request returns 201.
:param boolean_value: Simple boolean value true
:type boolean_value: bool
@@ -344,8 +337,7 @@ def put201(
def post201(
self, boolean_value=None, custom_headers=None, raw=False, **operation_config):
- """
- Post true Boolean value in request returns 201 (Created)
+ """Post true Boolean value in request returns 201 (Created).
:param boolean_value: Simple boolean value true
:type boolean_value: bool
@@ -390,8 +382,7 @@ def post201(
def put202(
self, boolean_value=None, custom_headers=None, raw=False, **operation_config):
- """
- Put true Boolean value in request returns 202 (Accepted)
+ """Put true Boolean value in request returns 202 (Accepted).
:param boolean_value: Simple boolean value true
:type boolean_value: bool
@@ -436,8 +427,7 @@ def put202(
def patch202(
self, boolean_value=None, custom_headers=None, raw=False, **operation_config):
- """
- Patch true Boolean value in request returns 202
+ """Patch true Boolean value in request returns 202.
:param boolean_value: Simple boolean value true
:type boolean_value: bool
@@ -482,8 +472,7 @@ def patch202(
def post202(
self, boolean_value=None, custom_headers=None, raw=False, **operation_config):
- """
- Post true Boolean value in request returns 202 (Accepted)
+ """Post true Boolean value in request returns 202 (Accepted).
:param boolean_value: Simple boolean value true
:type boolean_value: bool
@@ -528,8 +517,7 @@ def post202(
def delete202(
self, boolean_value=None, custom_headers=None, raw=False, **operation_config):
- """
- Delete true Boolean value in request returns 202 (accepted)
+ """Delete true Boolean value in request returns 202 (accepted).
:param boolean_value: Simple boolean value true
:type boolean_value: bool
@@ -574,8 +562,7 @@ def delete202(
def head204(
self, custom_headers=None, raw=False, **operation_config):
- """
- Return 204 status code if successful
+ """Return 204 status code if successful.
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside the
@@ -611,8 +598,7 @@ def head204(
def put204(
self, boolean_value=None, custom_headers=None, raw=False, **operation_config):
- """
- Put true Boolean value in request returns 204 (no content)
+ """Put true Boolean value in request returns 204 (no content).
:param boolean_value: Simple boolean value true
:type boolean_value: bool
@@ -657,8 +643,7 @@ def put204(
def patch204(
self, boolean_value=None, custom_headers=None, raw=False, **operation_config):
- """
- Patch true Boolean value in request returns 204 (no content)
+ """Patch true Boolean value in request returns 204 (no content).
:param boolean_value: Simple boolean value true
:type boolean_value: bool
@@ -703,8 +688,7 @@ def patch204(
def post204(
self, boolean_value=None, custom_headers=None, raw=False, **operation_config):
- """
- Post true Boolean value in request returns 204 (no content)
+ """Post true Boolean value in request returns 204 (no content).
:param boolean_value: Simple boolean value true
:type boolean_value: bool
@@ -749,8 +733,7 @@ def post204(
def delete204(
self, boolean_value=None, custom_headers=None, raw=False, **operation_config):
- """
- Delete true Boolean value in request returns 204 (no content)
+ """Delete true Boolean value in request returns 204 (no content).
:param boolean_value: Simple boolean value true
:type boolean_value: bool
@@ -795,8 +778,7 @@ def delete204(
def head404(
self, custom_headers=None, raw=False, **operation_config):
- """
- Return 404 status code
+ """Return 404 status code.
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside the
diff --git a/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/Http/autoresthttpinfrastructuretestservice/operations/multiple_responses.py b/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/Http/autoresthttpinfrastructuretestservice/operations/multiple_responses.py
index 486c5e5fbf..535a72d19b 100644
--- a/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/Http/autoresthttpinfrastructuretestservice/operations/multiple_responses.py
+++ b/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/Http/autoresthttpinfrastructuretestservice/operations/multiple_responses.py
@@ -34,8 +34,7 @@ def __init__(self, client, config, serializer, deserializer):
def get200_model204_no_model_default_error200_valid(
self, custom_headers=None, raw=False, **operation_config):
- """
- Send a 200 response with valid payload: {'statusCode': '200'}
+ """Send a 200 response with valid payload: {'statusCode': '200'}.
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside the
@@ -78,8 +77,7 @@ def get200_model204_no_model_default_error200_valid(
def get200_model204_no_model_default_error204_valid(
self, custom_headers=None, raw=False, **operation_config):
- """
- Send a 204 response with no payload
+ """Send a 204 response with no payload.
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside the
@@ -122,8 +120,7 @@ def get200_model204_no_model_default_error204_valid(
def get200_model204_no_model_default_error201_invalid(
self, custom_headers=None, raw=False, **operation_config):
- """
- Send a 201 response with valid payload: {'statusCode': '201'}
+ """Send a 201 response with valid payload: {'statusCode': '201'}.
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside the
@@ -166,8 +163,7 @@ def get200_model204_no_model_default_error201_invalid(
def get200_model204_no_model_default_error202_none(
self, custom_headers=None, raw=False, **operation_config):
- """
- Send a 202 response with no payload:
+ """Send a 202 response with no payload:.
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside the
@@ -210,9 +206,8 @@ def get200_model204_no_model_default_error202_none(
def get200_model204_no_model_default_error400_valid(
self, custom_headers=None, raw=False, **operation_config):
- """
- Send a 400 response with valid error payload: {'status': 400,
- 'message': 'client error'}
+ """Send a 400 response with valid error payload: {'status': 400,
+ 'message': 'client error'}.
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside the
@@ -255,8 +250,7 @@ def get200_model204_no_model_default_error400_valid(
def get200_model201_model_default_error200_valid(
self, custom_headers=None, raw=False, **operation_config):
- """
- Send a 200 response with valid payload: {'statusCode': '200'}
+ """Send a 200 response with valid payload: {'statusCode': '200'}.
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside the
@@ -301,9 +295,8 @@ def get200_model201_model_default_error200_valid(
def get200_model201_model_default_error201_valid(
self, custom_headers=None, raw=False, **operation_config):
- """
- Send a 201 response with valid payload: {'statusCode': '201',
- 'textStatusCode': 'Created'}
+ """Send a 201 response with valid payload: {'statusCode': '201',
+ 'textStatusCode': 'Created'}.
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside the
@@ -348,9 +341,8 @@ def get200_model201_model_default_error201_valid(
def get200_model201_model_default_error400_valid(
self, custom_headers=None, raw=False, **operation_config):
- """
- Send a 400 response with valid payload: {'code': '400', 'message':
- 'client error'}
+ """Send a 400 response with valid payload: {'code': '400', 'message':
+ 'client error'}.
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside the
@@ -395,8 +387,7 @@ def get200_model201_model_default_error400_valid(
def get200_model_a201_model_c404_model_ddefault_error200_valid(
self, custom_headers=None, raw=False, **operation_config):
- """
- Send a 200 response with valid payload: {'statusCode': '200'}
+ """Send a 200 response with valid payload: {'statusCode': '200'}.
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside the
@@ -443,8 +434,7 @@ def get200_model_a201_model_c404_model_ddefault_error200_valid(
def get200_model_a201_model_c404_model_ddefault_error201_valid(
self, custom_headers=None, raw=False, **operation_config):
- """
- Send a 200 response with valid payload: {'httpCode': '201'}
+ """Send a 200 response with valid payload: {'httpCode': '201'}.
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside the
@@ -491,8 +481,7 @@ def get200_model_a201_model_c404_model_ddefault_error201_valid(
def get200_model_a201_model_c404_model_ddefault_error404_valid(
self, custom_headers=None, raw=False, **operation_config):
- """
- Send a 200 response with valid payload: {'httpStatusCode': '404'}
+ """Send a 200 response with valid payload: {'httpStatusCode': '404'}.
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside the
@@ -539,9 +528,8 @@ def get200_model_a201_model_c404_model_ddefault_error404_valid(
def get200_model_a201_model_c404_model_ddefault_error400_valid(
self, custom_headers=None, raw=False, **operation_config):
- """
- Send a 400 response with valid payload: {'code': '400', 'message':
- 'client error'}
+ """Send a 400 response with valid payload: {'code': '400', 'message':
+ 'client error'}.
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside the
@@ -588,8 +576,7 @@ def get200_model_a201_model_c404_model_ddefault_error400_valid(
def get202_none204_none_default_error202_none(
self, custom_headers=None, raw=False, **operation_config):
- """
- Send a 202 response with no payload
+ """Send a 202 response with no payload.
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside the
@@ -625,8 +612,7 @@ def get202_none204_none_default_error202_none(
def get202_none204_none_default_error204_none(
self, custom_headers=None, raw=False, **operation_config):
- """
- Send a 204 response with no payload
+ """Send a 204 response with no payload.
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside the
@@ -662,9 +648,8 @@ def get202_none204_none_default_error204_none(
def get202_none204_none_default_error400_valid(
self, custom_headers=None, raw=False, **operation_config):
- """
- Send a 400 response with valid payload: {'code': '400', 'message':
- 'client error'}
+ """Send a 400 response with valid payload: {'code': '400', 'message':
+ 'client error'}.
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside the
@@ -700,8 +685,7 @@ def get202_none204_none_default_error400_valid(
def get202_none204_none_default_none202_invalid(
self, custom_headers=None, raw=False, **operation_config):
- """
- Send a 202 response with an unexpected payload {'property': 'value'}
+ """Send a 202 response with an unexpected payload {'property': 'value'}.
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside the
@@ -737,8 +721,7 @@ def get202_none204_none_default_none202_invalid(
def get202_none204_none_default_none204_none(
self, custom_headers=None, raw=False, **operation_config):
- """
- Send a 204 response with no payload
+ """Send a 204 response with no payload.
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside the
@@ -774,8 +757,7 @@ def get202_none204_none_default_none204_none(
def get202_none204_none_default_none400_none(
self, custom_headers=None, raw=False, **operation_config):
- """
- Send a 400 response with no payload
+ """Send a 400 response with no payload.
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside the
@@ -811,8 +793,7 @@ def get202_none204_none_default_none400_none(
def get202_none204_none_default_none400_invalid(
self, custom_headers=None, raw=False, **operation_config):
- """
- Send a 400 response with an unexpected payload {'property': 'value'}
+ """Send a 400 response with an unexpected payload {'property': 'value'}.
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside the
@@ -848,8 +829,7 @@ def get202_none204_none_default_none400_invalid(
def get_default_model_a200_valid(
self, custom_headers=None, raw=False, **operation_config):
- """
- Send a 200 response with valid payload: {'statusCode': '200'}
+ """Send a 200 response with valid payload: {'statusCode': '200'}.
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside the
@@ -885,8 +865,7 @@ def get_default_model_a200_valid(
def get_default_model_a200_none(
self, custom_headers=None, raw=False, **operation_config):
- """
- Send a 200 response with no payload
+ """Send a 200 response with no payload.
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside the
@@ -922,8 +901,7 @@ def get_default_model_a200_none(
def get_default_model_a400_valid(
self, custom_headers=None, raw=False, **operation_config):
- """
- Send a 400 response with valid payload: {'statusCode': '400'}
+ """Send a 400 response with valid payload: {'statusCode': '400'}.
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside the
@@ -959,8 +937,7 @@ def get_default_model_a400_valid(
def get_default_model_a400_none(
self, custom_headers=None, raw=False, **operation_config):
- """
- Send a 400 response with no payload
+ """Send a 400 response with no payload.
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside the
@@ -996,8 +973,7 @@ def get_default_model_a400_none(
def get_default_none200_invalid(
self, custom_headers=None, raw=False, **operation_config):
- """
- Send a 200 response with invalid payload: {'statusCode': '200'}
+ """Send a 200 response with invalid payload: {'statusCode': '200'}.
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside the
@@ -1033,8 +1009,7 @@ def get_default_none200_invalid(
def get_default_none200_none(
self, custom_headers=None, raw=False, **operation_config):
- """
- Send a 200 response with no payload
+ """Send a 200 response with no payload.
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside the
@@ -1070,8 +1045,7 @@ def get_default_none200_none(
def get_default_none400_invalid(
self, custom_headers=None, raw=False, **operation_config):
- """
- Send a 400 response with valid payload: {'statusCode': '400'}
+ """Send a 400 response with valid payload: {'statusCode': '400'}.
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside the
@@ -1107,8 +1081,7 @@ def get_default_none400_invalid(
def get_default_none400_none(
self, custom_headers=None, raw=False, **operation_config):
- """
- Send a 400 response with no payload
+ """Send a 400 response with no payload.
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside the
@@ -1144,9 +1117,8 @@ def get_default_none400_none(
def get200_model_a200_none(
self, custom_headers=None, raw=False, **operation_config):
- """
- Send a 200 response with no payload, when a payload is expected -
- client should return a null object of thde type for model A
+ """Send a 200 response with no payload, when a payload is expected -
+ client should return a null object of thde type for model A.
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside the
@@ -1189,8 +1161,7 @@ def get200_model_a200_none(
def get200_model_a200_valid(
self, custom_headers=None, raw=False, **operation_config):
- """
- Send a 200 response with payload {'statusCode': '200'}
+ """Send a 200 response with payload {'statusCode': '200'}.
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside the
@@ -1233,8 +1204,7 @@ def get200_model_a200_valid(
def get200_model_a200_invalid(
self, custom_headers=None, raw=False, **operation_config):
- """
- Send a 200 response with invalid payload {'statusCodeInvalid': '200'}
+ """Send a 200 response with invalid payload {'statusCodeInvalid': '200'}.
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside the
@@ -1277,9 +1247,8 @@ def get200_model_a200_invalid(
def get200_model_a400_none(
self, custom_headers=None, raw=False, **operation_config):
- """
- Send a 400 response with no payload client should treat as an http
- error with no error model
+ """Send a 400 response with no payload client should treat as an http
+ error with no error model.
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside the
@@ -1322,8 +1291,7 @@ def get200_model_a400_none(
def get200_model_a400_valid(
self, custom_headers=None, raw=False, **operation_config):
- """
- Send a 200 response with payload {'statusCode': '400'}
+ """Send a 200 response with payload {'statusCode': '400'}.
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside the
@@ -1366,8 +1334,7 @@ def get200_model_a400_valid(
def get200_model_a400_invalid(
self, custom_headers=None, raw=False, **operation_config):
- """
- Send a 200 response with invalid payload {'statusCodeInvalid': '400'}
+ """Send a 200 response with invalid payload {'statusCodeInvalid': '400'}.
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside the
@@ -1410,8 +1377,7 @@ def get200_model_a400_invalid(
def get200_model_a202_valid(
self, custom_headers=None, raw=False, **operation_config):
- """
- Send a 202 response with payload {'statusCode': '202'}
+ """Send a 202 response with payload {'statusCode': '202'}.
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside the
diff --git a/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/ModelFlattening/autorestresourceflatteningtestservice/auto_rest_resource_flattening_test_service.py b/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/ModelFlattening/autorestresourceflatteningtestservice/auto_rest_resource_flattening_test_service.py
index 77be907a69..54fd03ffa0 100644
--- a/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/ModelFlattening/autorestresourceflatteningtestservice/auto_rest_resource_flattening_test_service.py
+++ b/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/ModelFlattening/autorestresourceflatteningtestservice/auto_rest_resource_flattening_test_service.py
@@ -59,8 +59,7 @@ def __init__(
def put_array(
self, resource_array=None, custom_headers=None, raw=False, **operation_config):
- """
- Put External Resource as an Array
+ """Put External Resource as an Array.
:param resource_array: External Resource as an Array to put
:type resource_array: list of :class:`Resource
@@ -106,8 +105,7 @@ def put_array(
def get_array(
self, custom_headers=None, raw=False, **operation_config):
- """
- Get External Resource as an Array
+ """Get External Resource as an Array.
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside the
@@ -151,8 +149,7 @@ def get_array(
def put_dictionary(
self, resource_dictionary=None, custom_headers=None, raw=False, **operation_config):
- """
- Put External Resource as a Dictionary
+ """Put External Resource as a Dictionary.
:param resource_dictionary: External Resource as a Dictionary to put
:type resource_dictionary: dict
@@ -197,8 +194,7 @@ def put_dictionary(
def get_dictionary(
self, custom_headers=None, raw=False, **operation_config):
- """
- Get External Resource as a Dictionary
+ """Get External Resource as a Dictionary.
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside the
@@ -241,8 +237,7 @@ def get_dictionary(
def put_resource_collection(
self, resource_complex_object=None, custom_headers=None, raw=False, **operation_config):
- """
- Put External Resource as a ResourceCollection
+ """Put External Resource as a ResourceCollection.
:param resource_complex_object: External Resource as a
ResourceCollection to put
@@ -289,8 +284,7 @@ def put_resource_collection(
def get_resource_collection(
self, custom_headers=None, raw=False, **operation_config):
- """
- Get External Resource as a ResourceCollection
+ """Get External Resource as a ResourceCollection.
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside the
@@ -334,8 +328,7 @@ def get_resource_collection(
def put_simple_product(
self, simple_body_product=None, custom_headers=None, raw=False, **operation_config):
- """
- Put Simple Product with client flattening true on the model
+ """Put Simple Product with client flattening true on the model.
:param simple_body_product: Simple body product to put
:type simple_body_product: :class:`SimpleProduct
@@ -389,9 +382,8 @@ def put_simple_product(
def post_flattened_simple_product(
self, product_id, max_product_display_name, description=None, generic_value=None, odatavalue=None, custom_headers=None, raw=False, **operation_config):
- """
- Put Flattened Simple Product with client flattening true on the
- parameter
+ """Put Flattened Simple Product with client flattening true on the
+ parameter.
:param product_id: Unique identifier representing a specific product
for a given latitude & longitude. For example, uberX in San
@@ -458,8 +450,7 @@ def post_flattened_simple_product(
def put_simple_product_with_grouping(
self, flatten_parameter_group, custom_headers=None, raw=False, **operation_config):
- """
- Put Simple Product with client flattening true on the model
+ """Put Simple Product with client flattening true on the model.
:param flatten_parameter_group: Additional parameters for the
operation
diff --git a/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/ModelFlattening/autorestresourceflatteningtestservice/models/base_product.py b/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/ModelFlattening/autorestresourceflatteningtestservice/models/base_product.py
index ad8b2a34eb..ed28fc37f8 100644
--- a/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/ModelFlattening/autorestresourceflatteningtestservice/models/base_product.py
+++ b/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/ModelFlattening/autorestresourceflatteningtestservice/models/base_product.py
@@ -13,8 +13,7 @@
class BaseProduct(Model):
- """
- The product documentation.
+ """The product documentation.
:param product_id: Unique identifier representing a specific product for
a given latitude & longitude. For example, uberX in San Francisco will
diff --git a/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/ModelFlattening/autorestresourceflatteningtestservice/models/error.py b/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/ModelFlattening/autorestresourceflatteningtestservice/models/error.py
index 0ff39bf5de..02bcff358d 100644
--- a/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/ModelFlattening/autorestresourceflatteningtestservice/models/error.py
+++ b/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/ModelFlattening/autorestresourceflatteningtestservice/models/error.py
@@ -14,7 +14,7 @@
class Error(Model):
- """Error
+ """Error.
:param status:
:type status: int
diff --git a/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/ModelFlattening/autorestresourceflatteningtestservice/models/flatten_parameter_group.py b/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/ModelFlattening/autorestresourceflatteningtestservice/models/flatten_parameter_group.py
index ef30dd1f2d..661afd94b3 100644
--- a/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/ModelFlattening/autorestresourceflatteningtestservice/models/flatten_parameter_group.py
+++ b/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/ModelFlattening/autorestresourceflatteningtestservice/models/flatten_parameter_group.py
@@ -13,8 +13,7 @@
class FlattenParameterGroup(Model):
- """
- Additional parameters for the putSimpleProductWithGrouping operation.
+ """Additional parameters for the putSimpleProductWithGrouping operation.
:param name: Product name with value 'groupproduct'
:type name: str
diff --git a/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/ModelFlattening/autorestresourceflatteningtestservice/models/flattened_product.py b/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/ModelFlattening/autorestresourceflatteningtestservice/models/flattened_product.py
index 55df7eedae..13ded0769e 100644
--- a/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/ModelFlattening/autorestresourceflatteningtestservice/models/flattened_product.py
+++ b/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/ModelFlattening/autorestresourceflatteningtestservice/models/flattened_product.py
@@ -13,7 +13,7 @@
class FlattenedProduct(Resource):
- """FlattenedProduct
+ """FlattenedProduct.
Variables are only populated by the server, and will be ignored when
sending a request.
diff --git a/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/ModelFlattening/autorestresourceflatteningtestservice/models/generic_url.py b/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/ModelFlattening/autorestresourceflatteningtestservice/models/generic_url.py
index 44d207c724..bf84a26647 100644
--- a/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/ModelFlattening/autorestresourceflatteningtestservice/models/generic_url.py
+++ b/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/ModelFlattening/autorestresourceflatteningtestservice/models/generic_url.py
@@ -13,8 +13,7 @@
class GenericUrl(Model):
- """
- The Generic URL.
+ """The Generic URL.
:param generic_value: Generic URL value.
:type generic_value: str
diff --git a/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/ModelFlattening/autorestresourceflatteningtestservice/models/resource.py b/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/ModelFlattening/autorestresourceflatteningtestservice/models/resource.py
index 349e6b7fbd..37e59f9d34 100644
--- a/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/ModelFlattening/autorestresourceflatteningtestservice/models/resource.py
+++ b/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/ModelFlattening/autorestresourceflatteningtestservice/models/resource.py
@@ -13,7 +13,7 @@
class Resource(Model):
- """Resource
+ """Resource.
Variables are only populated by the server, and will be ignored when
sending a request.
diff --git a/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/ModelFlattening/autorestresourceflatteningtestservice/models/resource_collection.py b/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/ModelFlattening/autorestresourceflatteningtestservice/models/resource_collection.py
index b4c53e9e23..6945d119ba 100644
--- a/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/ModelFlattening/autorestresourceflatteningtestservice/models/resource_collection.py
+++ b/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/ModelFlattening/autorestresourceflatteningtestservice/models/resource_collection.py
@@ -13,7 +13,7 @@
class ResourceCollection(Model):
- """ResourceCollection
+ """ResourceCollection.
:param productresource:
:type productresource: :class:`FlattenedProduct
diff --git a/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/ModelFlattening/autorestresourceflatteningtestservice/models/simple_product.py b/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/ModelFlattening/autorestresourceflatteningtestservice/models/simple_product.py
index 02537d1797..c9b2ed269a 100644
--- a/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/ModelFlattening/autorestresourceflatteningtestservice/models/simple_product.py
+++ b/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/ModelFlattening/autorestresourceflatteningtestservice/models/simple_product.py
@@ -13,8 +13,7 @@
class SimpleProduct(BaseProduct):
- """
- The product documentation.
+ """The product documentation.
Variables are only populated by the server, and will be ignored when
sending a request.
diff --git a/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/ParameterFlattening/autorestparameterflattening/models/availability_set_update_parameters.py b/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/ParameterFlattening/autorestparameterflattening/models/availability_set_update_parameters.py
index eb0b7aa4d4..bccb7bb19a 100644
--- a/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/ParameterFlattening/autorestparameterflattening/models/availability_set_update_parameters.py
+++ b/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/ParameterFlattening/autorestparameterflattening/models/availability_set_update_parameters.py
@@ -13,7 +13,7 @@
class AvailabilitySetUpdateParameters(Model):
- """AvailabilitySetUpdateParameters
+ """AvailabilitySetUpdateParameters.
:param tags:
:type tags: dict
diff --git a/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/ParameterFlattening/autorestparameterflattening/operations/availability_sets.py b/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/ParameterFlattening/autorestparameterflattening/operations/availability_sets.py
index a45da1f5bf..c564f93a7d 100644
--- a/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/ParameterFlattening/autorestparameterflattening/operations/availability_sets.py
+++ b/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/ParameterFlattening/autorestparameterflattening/operations/availability_sets.py
@@ -34,8 +34,7 @@ def __init__(self, client, config, serializer, deserializer):
def update(
self, resource_group_name, avset, tags, custom_headers=None, raw=False, **operation_config):
- """
- Updates the tags for an availability set.
+ """Updates the tags for an availability set.
:param resource_group_name: The name of the resource group.
:type resource_group_name: str
diff --git a/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/Report/autorestreportservice/auto_rest_report_service.py b/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/Report/autorestreportservice/auto_rest_report_service.py
index caa51db500..a9d004c7ac 100644
--- a/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/Report/autorestreportservice/auto_rest_report_service.py
+++ b/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/Report/autorestreportservice/auto_rest_report_service.py
@@ -59,8 +59,7 @@ def __init__(
def get_report(
self, custom_headers=None, raw=False, **operation_config):
- """
- Get test coverage report
+ """Get test coverage report.
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside the
diff --git a/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/Report/autorestreportservice/models/error.py b/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/Report/autorestreportservice/models/error.py
index c2d19e377e..eb6c5cdea9 100644
--- a/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/Report/autorestreportservice/models/error.py
+++ b/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/Report/autorestreportservice/models/error.py
@@ -14,7 +14,7 @@
class Error(Model):
- """Error
+ """Error.
:param status:
:type status: int
diff --git a/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/RequiredOptional/autorestrequiredoptionaltestservice/models/array_optional_wrapper.py b/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/RequiredOptional/autorestrequiredoptionaltestservice/models/array_optional_wrapper.py
index cb71ed5d5d..bbf3e8c7cf 100644
--- a/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/RequiredOptional/autorestrequiredoptionaltestservice/models/array_optional_wrapper.py
+++ b/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/RequiredOptional/autorestrequiredoptionaltestservice/models/array_optional_wrapper.py
@@ -13,7 +13,7 @@
class ArrayOptionalWrapper(Model):
- """ArrayOptionalWrapper
+ """ArrayOptionalWrapper.
:param value:
:type value: list of str
diff --git a/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/RequiredOptional/autorestrequiredoptionaltestservice/models/array_wrapper.py b/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/RequiredOptional/autorestrequiredoptionaltestservice/models/array_wrapper.py
index 43685d1c6d..bffc0fd1d1 100644
--- a/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/RequiredOptional/autorestrequiredoptionaltestservice/models/array_wrapper.py
+++ b/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/RequiredOptional/autorestrequiredoptionaltestservice/models/array_wrapper.py
@@ -13,7 +13,7 @@
class ArrayWrapper(Model):
- """ArrayWrapper
+ """ArrayWrapper.
:param value:
:type value: list of str
diff --git a/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/RequiredOptional/autorestrequiredoptionaltestservice/models/class_optional_wrapper.py b/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/RequiredOptional/autorestrequiredoptionaltestservice/models/class_optional_wrapper.py
index 4d0d010de7..57914bff43 100644
--- a/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/RequiredOptional/autorestrequiredoptionaltestservice/models/class_optional_wrapper.py
+++ b/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/RequiredOptional/autorestrequiredoptionaltestservice/models/class_optional_wrapper.py
@@ -13,7 +13,7 @@
class ClassOptionalWrapper(Model):
- """ClassOptionalWrapper
+ """ClassOptionalWrapper.
:param value:
:type value: :class:`Product
diff --git a/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/RequiredOptional/autorestrequiredoptionaltestservice/models/class_wrapper.py b/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/RequiredOptional/autorestrequiredoptionaltestservice/models/class_wrapper.py
index ff139aaf09..5b48bb1fb6 100644
--- a/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/RequiredOptional/autorestrequiredoptionaltestservice/models/class_wrapper.py
+++ b/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/RequiredOptional/autorestrequiredoptionaltestservice/models/class_wrapper.py
@@ -13,7 +13,7 @@
class ClassWrapper(Model):
- """ClassWrapper
+ """ClassWrapper.
:param value:
:type value: :class:`Product
diff --git a/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/RequiredOptional/autorestrequiredoptionaltestservice/models/error.py b/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/RequiredOptional/autorestrequiredoptionaltestservice/models/error.py
index c2d19e377e..eb6c5cdea9 100644
--- a/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/RequiredOptional/autorestrequiredoptionaltestservice/models/error.py
+++ b/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/RequiredOptional/autorestrequiredoptionaltestservice/models/error.py
@@ -14,7 +14,7 @@
class Error(Model):
- """Error
+ """Error.
:param status:
:type status: int
diff --git a/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/RequiredOptional/autorestrequiredoptionaltestservice/models/int_optional_wrapper.py b/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/RequiredOptional/autorestrequiredoptionaltestservice/models/int_optional_wrapper.py
index 366aa950c9..c1c53bab45 100644
--- a/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/RequiredOptional/autorestrequiredoptionaltestservice/models/int_optional_wrapper.py
+++ b/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/RequiredOptional/autorestrequiredoptionaltestservice/models/int_optional_wrapper.py
@@ -13,7 +13,7 @@
class IntOptionalWrapper(Model):
- """IntOptionalWrapper
+ """IntOptionalWrapper.
:param value:
:type value: int
diff --git a/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/RequiredOptional/autorestrequiredoptionaltestservice/models/int_wrapper.py b/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/RequiredOptional/autorestrequiredoptionaltestservice/models/int_wrapper.py
index 9d20dbc5fb..6a96bf4fe6 100644
--- a/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/RequiredOptional/autorestrequiredoptionaltestservice/models/int_wrapper.py
+++ b/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/RequiredOptional/autorestrequiredoptionaltestservice/models/int_wrapper.py
@@ -13,7 +13,7 @@
class IntWrapper(Model):
- """IntWrapper
+ """IntWrapper.
:param value:
:type value: int
diff --git a/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/RequiredOptional/autorestrequiredoptionaltestservice/models/product.py b/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/RequiredOptional/autorestrequiredoptionaltestservice/models/product.py
index 68be843067..4187f7cadb 100644
--- a/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/RequiredOptional/autorestrequiredoptionaltestservice/models/product.py
+++ b/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/RequiredOptional/autorestrequiredoptionaltestservice/models/product.py
@@ -13,7 +13,7 @@
class Product(Model):
- """Product
+ """Product.
:param id:
:type id: int
diff --git a/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/RequiredOptional/autorestrequiredoptionaltestservice/models/string_optional_wrapper.py b/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/RequiredOptional/autorestrequiredoptionaltestservice/models/string_optional_wrapper.py
index b7484c3421..0d0208ba64 100644
--- a/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/RequiredOptional/autorestrequiredoptionaltestservice/models/string_optional_wrapper.py
+++ b/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/RequiredOptional/autorestrequiredoptionaltestservice/models/string_optional_wrapper.py
@@ -13,7 +13,7 @@
class StringOptionalWrapper(Model):
- """StringOptionalWrapper
+ """StringOptionalWrapper.
:param value:
:type value: str
diff --git a/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/RequiredOptional/autorestrequiredoptionaltestservice/models/string_wrapper.py b/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/RequiredOptional/autorestrequiredoptionaltestservice/models/string_wrapper.py
index 659da492dd..af087cf066 100644
--- a/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/RequiredOptional/autorestrequiredoptionaltestservice/models/string_wrapper.py
+++ b/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/RequiredOptional/autorestrequiredoptionaltestservice/models/string_wrapper.py
@@ -13,7 +13,7 @@
class StringWrapper(Model):
- """StringWrapper
+ """StringWrapper.
:param value:
:type value: str
diff --git a/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/RequiredOptional/autorestrequiredoptionaltestservice/operations/explicit.py b/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/RequiredOptional/autorestrequiredoptionaltestservice/operations/explicit.py
index 359feac463..655fec8db3 100644
--- a/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/RequiredOptional/autorestrequiredoptionaltestservice/operations/explicit.py
+++ b/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/RequiredOptional/autorestrequiredoptionaltestservice/operations/explicit.py
@@ -33,8 +33,7 @@ def __init__(self, client, config, serializer, deserializer):
def post_required_integer_parameter(
self, body_parameter, custom_headers=None, raw=False, **operation_config):
- """
- Test explicitly required integer. Please put null and the client
+ """Test explicitly required integer. Please put null and the client
library should throw before the request is sent.
:param body_parameter:
@@ -78,8 +77,7 @@ def post_required_integer_parameter(
def post_optional_integer_parameter(
self, body_parameter=None, custom_headers=None, raw=False, **operation_config):
- """
- Test explicitly optional integer. Please put null.
+ """Test explicitly optional integer. Please put null.
:param body_parameter:
:type body_parameter: int
@@ -124,8 +122,7 @@ def post_optional_integer_parameter(
def post_required_integer_property(
self, value, custom_headers=None, raw=False, **operation_config):
- """
- Test explicitly required integer. Please put a valid int-wrapper with
+ """Test explicitly required integer. Please put a valid int-wrapper with
'value' = null and the client library should throw before the request
is sent.
@@ -172,8 +169,7 @@ def post_required_integer_property(
def post_optional_integer_property(
self, value=None, custom_headers=None, raw=False, **operation_config):
- """
- Test explicitly optional integer. Please put a valid int-wrapper with
+ """Test explicitly optional integer. Please put a valid int-wrapper with
'value' = null.
:param value:
@@ -223,8 +219,7 @@ def post_optional_integer_property(
def post_required_integer_header(
self, header_parameter, custom_headers=None, raw=False, **operation_config):
- """
- Test explicitly required integer. Please put a header
+ """Test explicitly required integer. Please put a header
'headerParameter' => null and the client library should throw before
the request is sent.
@@ -266,8 +261,7 @@ def post_required_integer_header(
def post_optional_integer_header(
self, header_parameter=None, custom_headers=None, raw=False, **operation_config):
- """
- Test explicitly optional integer. Please put a header
+ """Test explicitly optional integer. Please put a header
'headerParameter' => null.
:param header_parameter:
@@ -308,8 +302,7 @@ def post_optional_integer_header(
def post_required_string_parameter(
self, body_parameter, custom_headers=None, raw=False, **operation_config):
- """
- Test explicitly required string. Please put null and the client
+ """Test explicitly required string. Please put null and the client
library should throw before the request is sent.
:param body_parameter:
@@ -353,8 +346,7 @@ def post_required_string_parameter(
def post_optional_string_parameter(
self, body_parameter=None, custom_headers=None, raw=False, **operation_config):
- """
- Test explicitly optional string. Please put null.
+ """Test explicitly optional string. Please put null.
:param body_parameter:
:type body_parameter: str
@@ -399,8 +391,7 @@ def post_optional_string_parameter(
def post_required_string_property(
self, value, custom_headers=None, raw=False, **operation_config):
- """
- Test explicitly required string. Please put a valid string-wrapper
+ """Test explicitly required string. Please put a valid string-wrapper
with 'value' = null and the client library should throw before the
request is sent.
@@ -447,8 +438,7 @@ def post_required_string_property(
def post_optional_string_property(
self, value=None, custom_headers=None, raw=False, **operation_config):
- """
- Test explicitly optional integer. Please put a valid string-wrapper
+ """Test explicitly optional integer. Please put a valid string-wrapper
with 'value' = null.
:param value:
@@ -498,8 +488,7 @@ def post_optional_string_property(
def post_required_string_header(
self, header_parameter, custom_headers=None, raw=False, **operation_config):
- """
- Test explicitly required string. Please put a header 'headerParameter'
+ """Test explicitly required string. Please put a header 'headerParameter'
=> null and the client library should throw before the request is
sent.
@@ -541,8 +530,7 @@ def post_required_string_header(
def post_optional_string_header(
self, body_parameter=None, custom_headers=None, raw=False, **operation_config):
- """
- Test explicitly optional string. Please put a header 'headerParameter'
+ """Test explicitly optional string. Please put a header 'headerParameter'
=> null.
:param body_parameter:
@@ -583,8 +571,7 @@ def post_optional_string_header(
def post_required_class_parameter(
self, body_parameter, custom_headers=None, raw=False, **operation_config):
- """
- Test explicitly required complex object. Please put null and the
+ """Test explicitly required complex object. Please put null and the
client library should throw before the request is sent.
:param body_parameter:
@@ -629,8 +616,7 @@ def post_required_class_parameter(
def post_optional_class_parameter(
self, body_parameter=None, custom_headers=None, raw=False, **operation_config):
- """
- Test explicitly optional complex object. Please put null.
+ """Test explicitly optional complex object. Please put null.
:param body_parameter:
:type body_parameter: :class:`Product
@@ -676,8 +662,7 @@ def post_optional_class_parameter(
def post_required_class_property(
self, value, custom_headers=None, raw=False, **operation_config):
- """
- Test explicitly required complex object. Please put a valid
+ """Test explicitly required complex object. Please put a valid
class-wrapper with 'value' = null and the client library should throw
before the request is sent.
@@ -725,8 +710,7 @@ def post_required_class_property(
def post_optional_class_property(
self, value=None, custom_headers=None, raw=False, **operation_config):
- """
- Test explicitly optional complex object. Please put a valid
+ """Test explicitly optional complex object. Please put a valid
class-wrapper with 'value' = null.
:param value:
@@ -777,8 +761,7 @@ def post_optional_class_property(
def post_required_array_parameter(
self, body_parameter, custom_headers=None, raw=False, **operation_config):
- """
- Test explicitly required array. Please put null and the client library
+ """Test explicitly required array. Please put null and the client library
should throw before the request is sent.
:param body_parameter:
@@ -822,8 +805,7 @@ def post_required_array_parameter(
def post_optional_array_parameter(
self, body_parameter=None, custom_headers=None, raw=False, **operation_config):
- """
- Test explicitly optional array. Please put null.
+ """Test explicitly optional array. Please put null.
:param body_parameter:
:type body_parameter: list of str
@@ -868,8 +850,7 @@ def post_optional_array_parameter(
def post_required_array_property(
self, value, custom_headers=None, raw=False, **operation_config):
- """
- Test explicitly required array. Please put a valid array-wrapper with
+ """Test explicitly required array. Please put a valid array-wrapper with
'value' = null and the client library should throw before the request
is sent.
@@ -916,8 +897,7 @@ def post_required_array_property(
def post_optional_array_property(
self, value=None, custom_headers=None, raw=False, **operation_config):
- """
- Test explicitly optional array. Please put a valid array-wrapper with
+ """Test explicitly optional array. Please put a valid array-wrapper with
'value' = null.
:param value:
@@ -967,8 +947,7 @@ def post_optional_array_property(
def post_required_array_header(
self, header_parameter, custom_headers=None, raw=False, **operation_config):
- """
- Test explicitly required array. Please put a header 'headerParameter'
+ """Test explicitly required array. Please put a header 'headerParameter'
=> null and the client library should throw before the request is
sent.
@@ -1010,8 +989,7 @@ def post_required_array_header(
def post_optional_array_header(
self, header_parameter=None, custom_headers=None, raw=False, **operation_config):
- """
- Test explicitly optional integer. Please put a header
+ """Test explicitly optional integer. Please put a header
'headerParameter' => null.
:param header_parameter:
diff --git a/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/RequiredOptional/autorestrequiredoptionaltestservice/operations/implicit.py b/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/RequiredOptional/autorestrequiredoptionaltestservice/operations/implicit.py
index 91919cfd00..7ad1b6ed39 100644
--- a/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/RequiredOptional/autorestrequiredoptionaltestservice/operations/implicit.py
+++ b/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/RequiredOptional/autorestrequiredoptionaltestservice/operations/implicit.py
@@ -33,8 +33,7 @@ def __init__(self, client, config, serializer, deserializer):
def get_required_path(
self, path_parameter, custom_headers=None, raw=False, **operation_config):
- """
- Test implicitly required path parameter
+ """Test implicitly required path parameter.
:param path_parameter:
:type path_parameter: str
@@ -77,8 +76,7 @@ def get_required_path(
def put_optional_query(
self, query_parameter=None, custom_headers=None, raw=False, **operation_config):
- """
- Test implicitly optional query parameter
+ """Test implicitly optional query parameter.
:param query_parameter:
:type query_parameter: str
@@ -118,8 +116,7 @@ def put_optional_query(
def put_optional_header(
self, query_parameter=None, custom_headers=None, raw=False, **operation_config):
- """
- Test implicitly optional header parameter
+ """Test implicitly optional header parameter.
:param query_parameter:
:type query_parameter: str
@@ -159,8 +156,7 @@ def put_optional_header(
def put_optional_body(
self, body_parameter=None, custom_headers=None, raw=False, **operation_config):
- """
- Test implicitly optional body parameter
+ """Test implicitly optional body parameter.
:param body_parameter:
:type body_parameter: str
@@ -205,8 +201,7 @@ def put_optional_body(
def get_required_global_path(
self, custom_headers=None, raw=False, **operation_config):
- """
- Test implicitly required path parameter
+ """Test implicitly required path parameter.
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside the
@@ -247,8 +242,7 @@ def get_required_global_path(
def get_required_global_query(
self, custom_headers=None, raw=False, **operation_config):
- """
- Test implicitly required query parameter
+ """Test implicitly required query parameter.
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside the
@@ -286,8 +280,7 @@ def get_required_global_query(
def get_optional_global_query(
self, custom_headers=None, raw=False, **operation_config):
- """
- Test implicitly optional query parameter
+ """Test implicitly optional query parameter.
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside the
diff --git a/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/Url/autoresturltestservice/models/error.py b/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/Url/autoresturltestservice/models/error.py
index c2d19e377e..eb6c5cdea9 100644
--- a/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/Url/autoresturltestservice/models/error.py
+++ b/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/Url/autoresturltestservice/models/error.py
@@ -14,7 +14,7 @@
class Error(Model):
- """Error
+ """Error.
:param status:
:type status: int
diff --git a/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/Url/autoresturltestservice/operations/path_items.py b/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/Url/autoresturltestservice/operations/path_items.py
index d3f3e72c6e..e4783eb3df 100644
--- a/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/Url/autoresturltestservice/operations/path_items.py
+++ b/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/Url/autoresturltestservice/operations/path_items.py
@@ -33,13 +33,12 @@ def __init__(self, client, config, serializer, deserializer):
def get_all_with_values(
self, local_string_path, path_item_string_path, local_string_query=None, path_item_string_query=None, custom_headers=None, raw=False, **operation_config):
- """
- send globalStringPath='globalStringPath',
+ """send globalStringPath='globalStringPath',
pathItemStringPath='pathItemStringPath',
localStringPath='localStringPath',
globalStringQuery='globalStringQuery',
pathItemStringQuery='pathItemStringQuery',
- localStringQuery='localStringQuery'
+ localStringQuery='localStringQuery'.
:param local_string_path: should contain value 'localStringPath'
:type local_string_path: str
@@ -97,12 +96,11 @@ def get_all_with_values(
def get_global_query_null(
self, local_string_path, path_item_string_path, local_string_query=None, path_item_string_query=None, custom_headers=None, raw=False, **operation_config):
- """
- send globalStringPath='globalStringPath',
+ """send globalStringPath='globalStringPath',
pathItemStringPath='pathItemStringPath',
localStringPath='localStringPath', globalStringQuery=null,
pathItemStringQuery='pathItemStringQuery',
- localStringQuery='localStringQuery'
+ localStringQuery='localStringQuery'.
:param local_string_path: should contain value 'localStringPath'
:type local_string_path: str
@@ -160,11 +158,10 @@ def get_global_query_null(
def get_global_and_local_query_null(
self, local_string_path, path_item_string_path, local_string_query=None, path_item_string_query=None, custom_headers=None, raw=False, **operation_config):
- """
- send globalStringPath=globalStringPath,
+ """send globalStringPath=globalStringPath,
pathItemStringPath='pathItemStringPath',
localStringPath='localStringPath', globalStringQuery=null,
- pathItemStringQuery='pathItemStringQuery', localStringQuery=null
+ pathItemStringQuery='pathItemStringQuery', localStringQuery=null.
:param local_string_path: should contain value 'localStringPath'
:type local_string_path: str
@@ -222,12 +219,11 @@ def get_global_and_local_query_null(
def get_local_path_item_query_null(
self, local_string_path, path_item_string_path, local_string_query=None, path_item_string_query=None, custom_headers=None, raw=False, **operation_config):
- """
- send globalStringPath='globalStringPath',
+ """send globalStringPath='globalStringPath',
pathItemStringPath='pathItemStringPath',
localStringPath='localStringPath',
globalStringQuery='globalStringQuery', pathItemStringQuery=null,
- localStringQuery=null
+ localStringQuery=null.
:param local_string_path: should contain value 'localStringPath'
:type local_string_path: str
diff --git a/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/Url/autoresturltestservice/operations/paths.py b/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/Url/autoresturltestservice/operations/paths.py
index fa471ef4aa..553d245215 100644
--- a/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/Url/autoresturltestservice/operations/paths.py
+++ b/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/Url/autoresturltestservice/operations/paths.py
@@ -33,8 +33,7 @@ def __init__(self, client, config, serializer, deserializer):
def get_boolean_true(
self, bool_path=False, custom_headers=None, raw=False, **operation_config):
- """
- Get true Boolean value on path
+ """Get true Boolean value on path.
:param bool_path: true boolean value
:type bool_path: bool
@@ -76,8 +75,7 @@ def get_boolean_true(
def get_boolean_false(
self, bool_path=False, custom_headers=None, raw=False, **operation_config):
- """
- Get false Boolean value on path
+ """Get false Boolean value on path.
:param bool_path: false boolean value
:type bool_path: bool
@@ -119,8 +117,7 @@ def get_boolean_false(
def get_int_one_million(
self, int_path=1000000, custom_headers=None, raw=False, **operation_config):
- """
- Get '1000000' integer value
+ """Get '1000000' integer value.
:param int_path: '1000000' integer value
:type int_path: int
@@ -162,8 +159,7 @@ def get_int_one_million(
def get_int_negative_one_million(
self, int_path=-1000000, custom_headers=None, raw=False, **operation_config):
- """
- Get '-1000000' integer value
+ """Get '-1000000' integer value.
:param int_path: '-1000000' integer value
:type int_path: int
@@ -205,8 +201,7 @@ def get_int_negative_one_million(
def get_ten_billion(
self, long_path=10000000000, custom_headers=None, raw=False, **operation_config):
- """
- Get '10000000000' 64 bit integer value
+ """Get '10000000000' 64 bit integer value.
:param long_path: '10000000000' 64 bit integer value
:type long_path: long
@@ -248,8 +243,7 @@ def get_ten_billion(
def get_negative_ten_billion(
self, long_path=-10000000000, custom_headers=None, raw=False, **operation_config):
- """
- Get '-10000000000' 64 bit integer value
+ """Get '-10000000000' 64 bit integer value.
:param long_path: '-10000000000' 64 bit integer value
:type long_path: long
@@ -291,8 +285,7 @@ def get_negative_ten_billion(
def float_scientific_positive(
self, float_path=1.034E+20, custom_headers=None, raw=False, **operation_config):
- """
- Get '1.034E+20' numeric value
+ """Get '1.034E+20' numeric value.
:param float_path: '1.034E+20'numeric value
:type float_path: float
@@ -334,8 +327,7 @@ def float_scientific_positive(
def float_scientific_negative(
self, float_path=-1.034E-20, custom_headers=None, raw=False, **operation_config):
- """
- Get '-1.034E-20' numeric value
+ """Get '-1.034E-20' numeric value.
:param float_path: '-1.034E-20'numeric value
:type float_path: float
@@ -377,8 +369,7 @@ def float_scientific_negative(
def double_decimal_positive(
self, double_path=9999999.999, custom_headers=None, raw=False, **operation_config):
- """
- Get '9999999.999' numeric value
+ """Get '9999999.999' numeric value.
:param double_path: '9999999.999'numeric value
:type double_path: float
@@ -420,8 +411,7 @@ def double_decimal_positive(
def double_decimal_negative(
self, double_path=-9999999.999, custom_headers=None, raw=False, **operation_config):
- """
- Get '-9999999.999' numeric value
+ """Get '-9999999.999' numeric value.
:param double_path: '-9999999.999'numeric value
:type double_path: float
@@ -463,8 +453,7 @@ def double_decimal_negative(
def string_unicode(
self, string_path="啊齄丂狛狜隣郎隣兀﨩", custom_headers=None, raw=False, **operation_config):
- """
- Get '啊齄丂狛狜隣郎隣兀﨩' multi-byte string value
+ """Get '啊齄丂狛狜隣郎隣兀﨩' multi-byte string value.
:param string_path: '啊齄丂狛狜隣郎隣兀﨩'multi-byte string value
:type string_path: str
@@ -506,8 +495,7 @@ def string_unicode(
def string_url_encoded(
self, string_path="begin!*'();:@ &=+$,/?#[]end", custom_headers=None, raw=False, **operation_config):
- """
- Get 'begin!*'();:@ &=+$,/?#[]end
+ """Get 'begin!*'();:@ &=+$,/?#[]end.
:param string_path: 'begin!*'();:@ &=+$,/?#[]end' url encoded string
value
@@ -550,8 +538,7 @@ def string_url_encoded(
def string_empty(
self, string_path="", custom_headers=None, raw=False, **operation_config):
- """
- Get ''
+ """Get ''.
:param string_path: '' string value
:type string_path: str
@@ -593,8 +580,7 @@ def string_empty(
def string_null(
self, string_path, custom_headers=None, raw=False, **operation_config):
- """
- Get null (should throw)
+ """Get null (should throw).
:param string_path: null string value
:type string_path: str
@@ -636,8 +622,7 @@ def string_null(
def enum_valid(
self, enum_path, custom_headers=None, raw=False, **operation_config):
- """
- Get using uri with 'green color' in path parameter
+ """Get using uri with 'green color' in path parameter.
:param enum_path: send the value green. Possible values include: 'red
color', 'green color', 'blue color'
@@ -681,9 +666,8 @@ def enum_valid(
def enum_null(
self, enum_path, custom_headers=None, raw=False, **operation_config):
- """
- Get null (should throw on the client before the request is sent on
- wire)
+ """Get null (should throw on the client before the request is sent on
+ wire).
:param enum_path: send null should throw. Possible values include:
'red color', 'green color', 'blue color'
@@ -727,8 +711,7 @@ def enum_null(
def byte_multi_byte(
self, byte_path, custom_headers=None, raw=False, **operation_config):
- """
- Get '啊齄丂狛狜隣郎隣兀﨩' multibyte value as utf-8 encoded byte array
+ """Get '啊齄丂狛狜隣郎隣兀﨩' multibyte value as utf-8 encoded byte array.
:param byte_path: '啊齄丂狛狜隣郎隣兀﨩' multibyte value as utf-8 encoded byte
array
@@ -771,8 +754,7 @@ def byte_multi_byte(
def byte_empty(
self, byte_path=bytearray("", encoding="utf-8"), custom_headers=None, raw=False, **operation_config):
- """
- Get '' as byte array
+ """Get '' as byte array.
:param byte_path: '' as byte array
:type byte_path: bytearray
@@ -814,8 +796,7 @@ def byte_empty(
def byte_null(
self, byte_path, custom_headers=None, raw=False, **operation_config):
- """
- Get null as byte array (should throw)
+ """Get null as byte array (should throw).
:param byte_path: null as byte array (should throw)
:type byte_path: bytearray
@@ -857,8 +838,7 @@ def byte_null(
def date_valid(
self, date_path, custom_headers=None, raw=False, **operation_config):
- """
- Get '2012-01-01' as date
+ """Get '2012-01-01' as date.
:param date_path: '2012-01-01' as date
:type date_path: date
@@ -900,9 +880,8 @@ def date_valid(
def date_null(
self, date_path, custom_headers=None, raw=False, **operation_config):
- """
- Get null as date - this should throw or be unusable on the client
- side, depending on date representation
+ """Get null as date - this should throw or be unusable on the client
+ side, depending on date representation.
:param date_path: null as date (should throw)
:type date_path: date
@@ -944,8 +923,7 @@ def date_null(
def date_time_valid(
self, date_time_path, custom_headers=None, raw=False, **operation_config):
- """
- Get '2012-01-01T01:01:01Z' as date-time
+ """Get '2012-01-01T01:01:01Z' as date-time.
:param date_time_path: '2012-01-01T01:01:01Z' as date-time
:type date_time_path: datetime
@@ -987,9 +965,8 @@ def date_time_valid(
def date_time_null(
self, date_time_path, custom_headers=None, raw=False, **operation_config):
- """
- Get null as date-time, should be disallowed or throw depending on
- representation of date-time
+ """Get null as date-time, should be disallowed or throw depending on
+ representation of date-time.
:param date_time_path: null as date-time
:type date_time_path: datetime
@@ -1031,8 +1008,7 @@ def date_time_null(
def base64_url(
self, base64_url_path, custom_headers=None, raw=False, **operation_config):
- """
- Get 'lorem' encoded value as 'bG9yZW0' (base64url)
+ """Get 'lorem' encoded value as 'bG9yZW0' (base64url).
:param base64_url_path: base64url encoded value
:type base64_url_path: bytes
@@ -1074,9 +1050,8 @@ def base64_url(
def array_csv_in_path(
self, array_path, custom_headers=None, raw=False, **operation_config):
- """
- Get an array of string ['ArrayPath1', 'begin!*'();:@ &=+$,/?#[]end' ,
- null, ''] using the csv-array format
+ """Get an array of string ['ArrayPath1', 'begin!*'();:@ &=+$,/?#[]end' ,
+ null, ''] using the csv-array format.
:param array_path: an array of string ['ArrayPath1', 'begin!*'();:@
&=+$,/?#[]end' , null, ''] using the csv-array format
@@ -1119,8 +1094,7 @@ def array_csv_in_path(
def unix_time_url(
self, unix_time_url_path, custom_headers=None, raw=False, **operation_config):
- """
- Get the date 2016-04-13 encoded value as '1460505600' (Unix time)
+ """Get the date 2016-04-13 encoded value as '1460505600' (Unix time).
:param unix_time_url_path: Unix time encoded value
:type unix_time_url_path: datetime
diff --git a/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/Url/autoresturltestservice/operations/queries.py b/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/Url/autoresturltestservice/operations/queries.py
index bc643c4fb7..66f18ecf4a 100644
--- a/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/Url/autoresturltestservice/operations/queries.py
+++ b/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/Url/autoresturltestservice/operations/queries.py
@@ -33,8 +33,7 @@ def __init__(self, client, config, serializer, deserializer):
def get_boolean_true(
self, bool_query=False, custom_headers=None, raw=False, **operation_config):
- """
- Get true Boolean value on path
+ """Get true Boolean value on path.
:param bool_query: true boolean value
:type bool_query: bool
@@ -73,8 +72,7 @@ def get_boolean_true(
def get_boolean_false(
self, bool_query=False, custom_headers=None, raw=False, **operation_config):
- """
- Get false Boolean value on path
+ """Get false Boolean value on path.
:param bool_query: false boolean value
:type bool_query: bool
@@ -113,8 +111,7 @@ def get_boolean_false(
def get_boolean_null(
self, bool_query=None, custom_headers=None, raw=False, **operation_config):
- """
- Get null Boolean value on query (query string should be absent)
+ """Get null Boolean value on query (query string should be absent).
:param bool_query: null boolean value
:type bool_query: bool
@@ -154,8 +151,7 @@ def get_boolean_null(
def get_int_one_million(
self, int_query=1000000, custom_headers=None, raw=False, **operation_config):
- """
- Get '1000000' integer value
+ """Get '1000000' integer value.
:param int_query: '1000000' integer value
:type int_query: int
@@ -194,8 +190,7 @@ def get_int_one_million(
def get_int_negative_one_million(
self, int_query=-1000000, custom_headers=None, raw=False, **operation_config):
- """
- Get '-1000000' integer value
+ """Get '-1000000' integer value.
:param int_query: '-1000000' integer value
:type int_query: int
@@ -234,8 +229,7 @@ def get_int_negative_one_million(
def get_int_null(
self, int_query=None, custom_headers=None, raw=False, **operation_config):
- """
- Get null integer value (no query parameter)
+ """Get null integer value (no query parameter).
:param int_query: null integer value
:type int_query: int
@@ -275,8 +269,7 @@ def get_int_null(
def get_ten_billion(
self, long_query=10000000000, custom_headers=None, raw=False, **operation_config):
- """
- Get '10000000000' 64 bit integer value
+ """Get '10000000000' 64 bit integer value.
:param long_query: '10000000000' 64 bit integer value
:type long_query: long
@@ -315,8 +308,7 @@ def get_ten_billion(
def get_negative_ten_billion(
self, long_query=-10000000000, custom_headers=None, raw=False, **operation_config):
- """
- Get '-10000000000' 64 bit integer value
+ """Get '-10000000000' 64 bit integer value.
:param long_query: '-10000000000' 64 bit integer value
:type long_query: long
@@ -355,8 +347,7 @@ def get_negative_ten_billion(
def get_long_null(
self, long_query=None, custom_headers=None, raw=False, **operation_config):
- """
- Get 'null 64 bit integer value (no query param in uri)
+ """Get 'null 64 bit integer value (no query param in uri).
:param long_query: null 64 bit integer value
:type long_query: long
@@ -396,8 +387,7 @@ def get_long_null(
def float_scientific_positive(
self, float_query=1.034E+20, custom_headers=None, raw=False, **operation_config):
- """
- Get '1.034E+20' numeric value
+ """Get '1.034E+20' numeric value.
:param float_query: '1.034E+20'numeric value
:type float_query: float
@@ -436,8 +426,7 @@ def float_scientific_positive(
def float_scientific_negative(
self, float_query=-1.034E-20, custom_headers=None, raw=False, **operation_config):
- """
- Get '-1.034E-20' numeric value
+ """Get '-1.034E-20' numeric value.
:param float_query: '-1.034E-20'numeric value
:type float_query: float
@@ -476,8 +465,7 @@ def float_scientific_negative(
def float_null(
self, float_query=None, custom_headers=None, raw=False, **operation_config):
- """
- Get null numeric value (no query parameter)
+ """Get null numeric value (no query parameter).
:param float_query: null numeric value
:type float_query: float
@@ -517,8 +505,7 @@ def float_null(
def double_decimal_positive(
self, double_query=9999999.999, custom_headers=None, raw=False, **operation_config):
- """
- Get '9999999.999' numeric value
+ """Get '9999999.999' numeric value.
:param double_query: '9999999.999'numeric value
:type double_query: float
@@ -557,8 +544,7 @@ def double_decimal_positive(
def double_decimal_negative(
self, double_query=-9999999.999, custom_headers=None, raw=False, **operation_config):
- """
- Get '-9999999.999' numeric value
+ """Get '-9999999.999' numeric value.
:param double_query: '-9999999.999'numeric value
:type double_query: float
@@ -597,8 +583,7 @@ def double_decimal_negative(
def double_null(
self, double_query=None, custom_headers=None, raw=False, **operation_config):
- """
- Get null numeric value (no query parameter)
+ """Get null numeric value (no query parameter).
:param double_query: null numeric value
:type double_query: float
@@ -638,8 +623,7 @@ def double_null(
def string_unicode(
self, string_query="啊齄丂狛狜隣郎隣兀﨩", custom_headers=None, raw=False, **operation_config):
- """
- Get '啊齄丂狛狜隣郎隣兀﨩' multi-byte string value
+ """Get '啊齄丂狛狜隣郎隣兀﨩' multi-byte string value.
:param string_query: '啊齄丂狛狜隣郎隣兀﨩'multi-byte string value
:type string_query: str
@@ -678,8 +662,7 @@ def string_unicode(
def string_url_encoded(
self, string_query="begin!*'();:@ &=+$,/?#[]end", custom_headers=None, raw=False, **operation_config):
- """
- Get 'begin!*'();:@ &=+$,/?#[]end
+ """Get 'begin!*'();:@ &=+$,/?#[]end.
:param string_query: 'begin!*'();:@ &=+$,/?#[]end' url encoded string
value
@@ -719,8 +702,7 @@ def string_url_encoded(
def string_empty(
self, string_query="", custom_headers=None, raw=False, **operation_config):
- """
- Get ''
+ """Get ''.
:param string_query: '' string value
:type string_query: str
@@ -759,8 +741,7 @@ def string_empty(
def string_null(
self, string_query=None, custom_headers=None, raw=False, **operation_config):
- """
- Get null (no query parameter in url)
+ """Get null (no query parameter in url).
:param string_query: null string value
:type string_query: str
@@ -800,8 +781,7 @@ def string_null(
def enum_valid(
self, enum_query=None, custom_headers=None, raw=False, **operation_config):
- """
- Get using uri with query parameter 'green color'
+ """Get using uri with query parameter 'green color'.
:param enum_query: 'green color' enum value. Possible values include:
'red color', 'green color', 'blue color'
@@ -843,8 +823,7 @@ def enum_valid(
def enum_null(
self, enum_query=None, custom_headers=None, raw=False, **operation_config):
- """
- Get null (no query parameter in url)
+ """Get null (no query parameter in url).
:param enum_query: null string value. Possible values include: 'red
color', 'green color', 'blue color'
@@ -886,8 +865,7 @@ def enum_null(
def byte_multi_byte(
self, byte_query=None, custom_headers=None, raw=False, **operation_config):
- """
- Get '啊齄丂狛狜隣郎隣兀﨩' multibyte value as utf-8 encoded byte array
+ """Get '啊齄丂狛狜隣郎隣兀﨩' multibyte value as utf-8 encoded byte array.
:param byte_query: '啊齄丂狛狜隣郎隣兀﨩' multibyte value as utf-8 encoded byte
array
@@ -928,8 +906,7 @@ def byte_multi_byte(
def byte_empty(
self, byte_query=bytearray("", encoding="utf-8"), custom_headers=None, raw=False, **operation_config):
- """
- Get '' as byte array
+ """Get '' as byte array.
:param byte_query: '' as byte array
:type byte_query: bytearray
@@ -968,8 +945,7 @@ def byte_empty(
def byte_null(
self, byte_query=None, custom_headers=None, raw=False, **operation_config):
- """
- Get null as byte array (no query parameters in uri)
+ """Get null as byte array (no query parameters in uri).
:param byte_query: null as byte array (no query parameters in uri)
:type byte_query: bytearray
@@ -1009,8 +985,7 @@ def byte_null(
def date_valid(
self, date_query, custom_headers=None, raw=False, **operation_config):
- """
- Get '2012-01-01' as date
+ """Get '2012-01-01' as date.
:param date_query: '2012-01-01' as date
:type date_query: date
@@ -1049,8 +1024,7 @@ def date_valid(
def date_null(
self, date_query=None, custom_headers=None, raw=False, **operation_config):
- """
- Get null as date - this should result in no query parameters in uri
+ """Get null as date - this should result in no query parameters in uri.
:param date_query: null as date (no query parameters in uri)
:type date_query: date
@@ -1090,8 +1064,7 @@ def date_null(
def date_time_valid(
self, date_time_query, custom_headers=None, raw=False, **operation_config):
- """
- Get '2012-01-01T01:01:01Z' as date-time
+ """Get '2012-01-01T01:01:01Z' as date-time.
:param date_time_query: '2012-01-01T01:01:01Z' as date-time
:type date_time_query: datetime
@@ -1130,8 +1103,7 @@ def date_time_valid(
def date_time_null(
self, date_time_query=None, custom_headers=None, raw=False, **operation_config):
- """
- Get null as date-time, should result in no query parameters in uri
+ """Get null as date-time, should result in no query parameters in uri.
:param date_time_query: null as date-time (no query parameters)
:type date_time_query: datetime
@@ -1171,9 +1143,8 @@ def date_time_null(
def array_string_csv_valid(
self, array_query=None, custom_headers=None, raw=False, **operation_config):
- """
- Get an array of string ['ArrayQuery1', 'begin!*'();:@ &=+$,/?#[]end' ,
- null, ''] using the csv-array format
+ """Get an array of string ['ArrayQuery1', 'begin!*'();:@ &=+$,/?#[]end' ,
+ null, ''] using the csv-array format.
:param array_query: an array of string ['ArrayQuery1', 'begin!*'();:@
&=+$,/?#[]end' , null, ''] using the csv-array format
@@ -1214,8 +1185,7 @@ def array_string_csv_valid(
def array_string_csv_null(
self, array_query=None, custom_headers=None, raw=False, **operation_config):
- """
- Get a null array of string using the csv-array format
+ """Get a null array of string using the csv-array format.
:param array_query: a null array of string using the csv-array format
:type array_query: list of str
@@ -1255,8 +1225,7 @@ def array_string_csv_null(
def array_string_csv_empty(
self, array_query=None, custom_headers=None, raw=False, **operation_config):
- """
- Get an empty array [] of string using the csv-array format
+ """Get an empty array [] of string using the csv-array format.
:param array_query: an empty array [] of string using the csv-array
format
@@ -1297,9 +1266,8 @@ def array_string_csv_empty(
def array_string_ssv_valid(
self, array_query=None, custom_headers=None, raw=False, **operation_config):
- """
- Get an array of string ['ArrayQuery1', 'begin!*'();:@ &=+$,/?#[]end' ,
- null, ''] using the ssv-array format
+ """Get an array of string ['ArrayQuery1', 'begin!*'();:@ &=+$,/?#[]end' ,
+ null, ''] using the ssv-array format.
:param array_query: an array of string ['ArrayQuery1', 'begin!*'();:@
&=+$,/?#[]end' , null, ''] using the ssv-array format
@@ -1340,9 +1308,8 @@ def array_string_ssv_valid(
def array_string_tsv_valid(
self, array_query=None, custom_headers=None, raw=False, **operation_config):
- """
- Get an array of string ['ArrayQuery1', 'begin!*'();:@ &=+$,/?#[]end' ,
- null, ''] using the tsv-array format
+ """Get an array of string ['ArrayQuery1', 'begin!*'();:@ &=+$,/?#[]end' ,
+ null, ''] using the tsv-array format.
:param array_query: an array of string ['ArrayQuery1', 'begin!*'();:@
&=+$,/?#[]end' , null, ''] using the tsv-array format
@@ -1383,9 +1350,8 @@ def array_string_tsv_valid(
def array_string_pipes_valid(
self, array_query=None, custom_headers=None, raw=False, **operation_config):
- """
- Get an array of string ['ArrayQuery1', 'begin!*'();:@ &=+$,/?#[]end' ,
- null, ''] using the pipes-array format
+ """Get an array of string ['ArrayQuery1', 'begin!*'();:@ &=+$,/?#[]end' ,
+ null, ''] using the pipes-array format.
:param array_query: an array of string ['ArrayQuery1', 'begin!*'();:@
&=+$,/?#[]end' , null, ''] using the pipes-array format
diff --git a/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/Validation/autorestvalidationtest/auto_rest_validation_test.py b/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/Validation/autorestvalidationtest/auto_rest_validation_test.py
index 08b08680ce..a2c3419bc5 100644
--- a/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/Validation/autorestvalidationtest/auto_rest_validation_test.py
+++ b/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/Validation/autorestvalidationtest/auto_rest_validation_test.py
@@ -79,8 +79,7 @@ def __init__(
def validation_of_method_parameters(
self, resource_group_name, id, custom_headers=None, raw=False, **operation_config):
- """
- Validates input parameters on the method. See swagger for details.
+ """Validates input parameters on the method. See swagger for details.
:param resource_group_name: Required string between 3 and 10 chars
with pattern [a-zA-Z0-9]+.
@@ -136,8 +135,7 @@ def validation_of_method_parameters(
def validation_of_body(
self, resource_group_name, id, body=None, custom_headers=None, raw=False, **operation_config):
- """
- Validates body parameters on the method. See swagger for details.
+ """Validates body parameters on the method. See swagger for details.
:param resource_group_name: Required string between 3 and 10 chars
with pattern [a-zA-Z0-9]+.
diff --git a/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/Validation/autorestvalidationtest/models/child_product.py b/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/Validation/autorestvalidationtest/models/child_product.py
index 0ef944dd8e..56493609e3 100644
--- a/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/Validation/autorestvalidationtest/models/child_product.py
+++ b/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/Validation/autorestvalidationtest/models/child_product.py
@@ -13,8 +13,7 @@
class ChildProduct(Model):
- """
- The product documentation.
+ """The product documentation.
Variables are only populated by the server, and will be ignored when
sending a request.
diff --git a/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/Validation/autorestvalidationtest/models/constant_product.py b/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/Validation/autorestvalidationtest/models/constant_product.py
index cb4531c4ec..56db476d09 100644
--- a/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/Validation/autorestvalidationtest/models/constant_product.py
+++ b/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/Validation/autorestvalidationtest/models/constant_product.py
@@ -13,8 +13,7 @@
class ConstantProduct(Model):
- """
- The product documentation.
+ """The product documentation.
Variables are only populated by the server, and will be ignored when
sending a request.
diff --git a/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/Validation/autorestvalidationtest/models/error.py b/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/Validation/autorestvalidationtest/models/error.py
index 3cd8f0d632..c646a19730 100644
--- a/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/Validation/autorestvalidationtest/models/error.py
+++ b/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/Validation/autorestvalidationtest/models/error.py
@@ -14,7 +14,7 @@
class Error(Model):
- """Error
+ """Error.
:param code:
:type code: int
diff --git a/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/Validation/autorestvalidationtest/models/product.py b/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/Validation/autorestvalidationtest/models/product.py
index 241f57547b..c916ef2d09 100644
--- a/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/Validation/autorestvalidationtest/models/product.py
+++ b/AutoRest/Generators/Python/Python.Tests/Expected/AcceptanceTests/Validation/autorestvalidationtest/models/product.py
@@ -14,8 +14,7 @@
class Product(Model):
- """
- The product documentation.
+ """The product documentation.
Variables are only populated by the server, and will be ignored when
sending a request.