Skip to content

Commit

Permalink
[AutoPR cognitiveservices/data-plane/LUIS/Authoring] Revert changes i…
Browse files Browse the repository at this point in the history
…n authoring (#4639)

* Generated from 26e4b3a45f476fc81fa11213eb459a361aea59b9

Revert changes in authoring

* Packaging update of azure-cognitiveservices-language-luis
  • Loading branch information
AutorestCI authored Mar 29, 2019
1 parent 46d8657 commit 37650f5
Show file tree
Hide file tree
Showing 97 changed files with 612 additions and 470 deletions.
1 change: 1 addition & 0 deletions azure-cognitiveservices-language-luis/MANIFEST.in
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
recursive-include tests *.py *.yaml
include *.rst
include azure/__init__.py
include azure/cognitiveservices/__init__.py
Expand Down
3 changes: 3 additions & 0 deletions azure-cognitiveservices-language-luis/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -22,3 +22,6 @@ Provide Feedback
If you encounter any bugs or have suggestions, please file an issue in the
`Issues <https://github.com/Azure/azure-sdk-for-python/issues>`__
section of the project.


.. image:: https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-python%2Fazure-cognitiveservices-language-luis%2FREADME.png
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,13 @@ class ApplicationInfoResponse(Model):
:type name: str
:param description: The description of the application.
:type description: str
:param culture: The culture of the application. E.g.: en-us.
:param culture: The culture of the application. For example, "en-us".
:type culture: str
:param usage_scenario: Defines the scenario for the new application.
Optional. E.g.: IoT.
Optional. For example, IoT.
:type usage_scenario: str
:param domain: The domain for the new application. Optional. E.g.: Comics.
:param domain: The domain for the new application. Optional. For example,
Comics.
:type domain: str
:param versions_count: Amount of model versions within the application.
:type versions_count: int
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,13 @@ class ApplicationInfoResponse(Model):
:type name: str
:param description: The description of the application.
:type description: str
:param culture: The culture of the application. E.g.: en-us.
:param culture: The culture of the application. For example, "en-us".
:type culture: str
:param usage_scenario: Defines the scenario for the new application.
Optional. E.g.: IoT.
Optional. For example, IoT.
:type usage_scenario: str
:param domain: The domain for the new application. Optional. E.g.: Comics.
:param domain: The domain for the new application. Optional. For example,
Comics.
:type domain: str
:param versions_count: Amount of model versions within the application.
:type versions_count: int
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,15 +15,15 @@
class ApplicationSettingUpdateObject(Model):
"""Object model for updating an application's settings.
:param public: Setting your application as public allows other people to
use your application's endpoint using their own keys.
:type public: bool
:param is_public: Setting your application as public allows other people
to use your application's endpoint using their own keys.
:type is_public: bool
"""

_attribute_map = {
'public': {'key': 'public', 'type': 'bool'},
'is_public': {'key': 'public', 'type': 'bool'},
}

def __init__(self, **kwargs):
super(ApplicationSettingUpdateObject, self).__init__(**kwargs)
self.public = kwargs.get('public', None)
self.is_public = kwargs.get('is_public', None)
Original file line number Diff line number Diff line change
Expand Up @@ -15,15 +15,15 @@
class ApplicationSettingUpdateObject(Model):
"""Object model for updating an application's settings.
:param public: Setting your application as public allows other people to
use your application's endpoint using their own keys.
:type public: bool
:param is_public: Setting your application as public allows other people
to use your application's endpoint using their own keys.
:type is_public: bool
"""

_attribute_map = {
'public': {'key': 'public', 'type': 'bool'},
'is_public': {'key': 'public', 'type': 'bool'},
}

def __init__(self, *, public: bool=None, **kwargs) -> None:
def __init__(self, *, is_public: bool=None, **kwargs) -> None:
super(ApplicationSettingUpdateObject, self).__init__(**kwargs)
self.public = public
self.is_public = is_public
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@ class ApplicationSettings(Model):
:param id: Required. The application ID.
:type id: str
:param is_public: Required. Setting your application as public allows
other people to use your application's endpoint using their own keys.
other people to use your application's endpoint using their own keys for
billing purposes.
:type is_public: bool
"""

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@ class ApplicationSettings(Model):
:param id: Required. The application ID.
:type id: str
:param is_public: Required. Setting your application as public allows
other people to use your application's endpoint using their own keys.
other people to use your application's endpoint using their own keys for
billing purposes.
:type is_public: bool
"""

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,15 @@


class AzureAccountInfoObject(Model):
"""Defines the azure account information object.
"""Defines the Azure account information object.
All required parameters must be populated in order to send to Azure.
:param azure_subscription_id: Required. The id for the azure subscription.
:param azure_subscription_id: Required. The id for the Azure subscription.
:type azure_subscription_id: str
:param resource_group: Required. The azure resource group name.
:param resource_group: Required. The Azure resource group name.
:type resource_group: str
:param account_name: Required. The azure account name.
:param account_name: Required. The Azure account name.
:type account_name: str
"""

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,15 @@


class AzureAccountInfoObject(Model):
"""Defines the azure account information object.
"""Defines the Azure account information object.
All required parameters must be populated in order to send to Azure.
:param azure_subscription_id: Required. The id for the azure subscription.
:param azure_subscription_id: Required. The id for the Azure subscription.
:type azure_subscription_id: str
:param resource_group: Required. The azure resource group name.
:param resource_group: Required. The Azure resource group name.
:type resource_group: str
:param account_name: Required. The azure account name.
:param account_name: Required. The Azure account name.
:type account_name: str
"""

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@


class BatchLabelExample(Model):
"""Response when adding a batch of labeled examples.
"""Response when adding a batch of labeled example utterances.
:param value:
:type value:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@


class BatchLabelExample(Model):
"""Response when adding a batch of labeled examples.
"""Response when adding a batch of labeled example utterances.
:param value:
:type value:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,11 @@


class ClosedList(Model):
"""Exported Model - A Closed List.
"""Exported Model - A list entity.
:param name: Name of the closed list feature.
:param name: Name of the list entity.
:type name: str
:param sub_lists: Sublists for the feature.
:param sub_lists: Sublists for the list entity.
:type sub_lists:
list[~azure.cognitiveservices.language.luis.authoring.models.SubClosedList]
:param roles:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@


class ClosedListEntityExtractor(Model):
"""Closed List Entity Extractor.
"""List Entity Extractor.
All required parameters must be populated in order to send to Azure.
Expand All @@ -25,15 +25,15 @@ class ClosedListEntityExtractor(Model):
:type type_id: int
:param readable_type: Required. Possible values include: 'Entity
Extractor', 'Hierarchical Entity Extractor', 'Hierarchical Child Entity
Extractor', 'Composite Entity Extractor', 'Closed List Entity Extractor',
Extractor', 'Composite Entity Extractor', 'List Entity Extractor',
'Prebuilt Entity Extractor', 'Intent Classifier', 'Pattern.Any Entity
Extractor', 'Regex Entity Extractor'
Extractor', 'Regular Expression Entity Extractor'
:type readable_type: str or
~azure.cognitiveservices.language.luis.authoring.models.enum
:param roles:
:type roles:
list[~azure.cognitiveservices.language.luis.authoring.models.EntityRole]
:param sub_lists: List of sub-lists.
:param sub_lists: List of sublists.
:type sub_lists:
list[~azure.cognitiveservices.language.luis.authoring.models.SubClosedListResponse]
"""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@


class ClosedListEntityExtractor(Model):
"""Closed List Entity Extractor.
"""List Entity Extractor.
All required parameters must be populated in order to send to Azure.
Expand All @@ -25,15 +25,15 @@ class ClosedListEntityExtractor(Model):
:type type_id: int
:param readable_type: Required. Possible values include: 'Entity
Extractor', 'Hierarchical Entity Extractor', 'Hierarchical Child Entity
Extractor', 'Composite Entity Extractor', 'Closed List Entity Extractor',
Extractor', 'Composite Entity Extractor', 'List Entity Extractor',
'Prebuilt Entity Extractor', 'Intent Classifier', 'Pattern.Any Entity
Extractor', 'Regex Entity Extractor'
Extractor', 'Regular Expression Entity Extractor'
:type readable_type: str or
~azure.cognitiveservices.language.luis.authoring.models.enum
:param roles:
:type roles:
list[~azure.cognitiveservices.language.luis.authoring.models.EntityRole]
:param sub_lists: List of sub-lists.
:param sub_lists: List of sublists.
:type sub_lists:
list[~azure.cognitiveservices.language.luis.authoring.models.SubClosedListResponse]
"""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,12 @@


class ClosedListModelCreateObject(Model):
"""Object model for creating a closed list.
"""Object model for creating a list entity.
:param sub_lists: Sublists for the feature.
:type sub_lists:
list[~azure.cognitiveservices.language.luis.authoring.models.WordListObject]
:param name: Name of the closed list feature.
:param name: Name of the list entity.
:type name: str
"""

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,12 @@


class ClosedListModelCreateObject(Model):
"""Object model for creating a closed list.
"""Object model for creating a list entity.
:param sub_lists: Sublists for the feature.
:type sub_lists:
list[~azure.cognitiveservices.language.luis.authoring.models.WordListObject]
:param name: Name of the closed list feature.
:param name: Name of the list entity.
:type name: str
"""

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@


class ClosedListModelPatchObject(Model):
"""Object model for adding a batch of sublists to an existing closedlist.
"""Object model for adding a batch of sublists to an existing list entity.
:param sub_lists: Sublists to add.
:type sub_lists:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@


class ClosedListModelPatchObject(Model):
"""Object model for adding a batch of sublists to an existing closedlist.
"""Object model for adding a batch of sublists to an existing list entity.
:param sub_lists: Sublists to add.
:type sub_lists:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,12 @@


class ClosedListModelUpdateObject(Model):
"""Object model for updating a closed list.
"""Object model for updating a list entity.
:param sub_lists: The new sublists for the feature.
:type sub_lists:
list[~azure.cognitiveservices.language.luis.authoring.models.WordListObject]
:param name: The new name of the closed list feature.
:param name: The new name of the list entity.
:type name: str
"""

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,12 @@


class ClosedListModelUpdateObject(Model):
"""Object model for updating a closed list.
"""Object model for updating a list entity.
:param sub_lists: The new sublists for the feature.
:type sub_lists:
list[~azure.cognitiveservices.language.luis.authoring.models.WordListObject]
:param name: The new name of the closed list feature.
:param name: The new name of the list entity.
:type name: str
"""

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,11 @@


class ClosedList(Model):
"""Exported Model - A Closed List.
"""Exported Model - A list entity.
:param name: Name of the closed list feature.
:param name: Name of the list entity.
:type name: str
:param sub_lists: Sublists for the feature.
:param sub_lists: Sublists for the list entity.
:type sub_lists:
list[~azure.cognitiveservices.language.luis.authoring.models.SubClosedList]
:param roles:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,9 @@ class CompositeEntityExtractor(Model):
:type type_id: int
:param readable_type: Required. Possible values include: 'Entity
Extractor', 'Hierarchical Entity Extractor', 'Hierarchical Child Entity
Extractor', 'Composite Entity Extractor', 'Closed List Entity Extractor',
Extractor', 'Composite Entity Extractor', 'List Entity Extractor',
'Prebuilt Entity Extractor', 'Intent Classifier', 'Pattern.Any Entity
Extractor', 'Regex Entity Extractor'
Extractor', 'Regular Expression Entity Extractor'
:type readable_type: str or
~azure.cognitiveservices.language.luis.authoring.models.enum
:param roles:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,9 @@ class CompositeEntityExtractor(Model):
:type type_id: int
:param readable_type: Required. Possible values include: 'Entity
Extractor', 'Hierarchical Entity Extractor', 'Hierarchical Child Entity
Extractor', 'Composite Entity Extractor', 'Closed List Entity Extractor',
Extractor', 'Composite Entity Extractor', 'List Entity Extractor',
'Prebuilt Entity Extractor', 'Intent Classifier', 'Pattern.Any Entity
Extractor', 'Regex Entity Extractor'
Extractor', 'Regular Expression Entity Extractor'
:type readable_type: str or
~azure.cognitiveservices.language.luis.authoring.models.enum
:param roles:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@


class CompositeEntityModel(Model):
"""A composite entity.
"""A composite entity extractor.
:param children: Child entities.
:type children: list[str]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@


class CompositeEntityModel(Model):
"""A composite entity.
"""A composite entity extractor.
:param children: Child entities.
:type children: list[str]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,9 @@ class CustomPrebuiltModel(Model):
:type type_id: int
:param readable_type: Required. Possible values include: 'Entity
Extractor', 'Hierarchical Entity Extractor', 'Hierarchical Child Entity
Extractor', 'Composite Entity Extractor', 'Closed List Entity Extractor',
Extractor', 'Composite Entity Extractor', 'List Entity Extractor',
'Prebuilt Entity Extractor', 'Intent Classifier', 'Pattern.Any Entity
Extractor', 'Regex Entity Extractor'
Extractor', 'Regular Expression Entity Extractor'
:type readable_type: str or
~azure.cognitiveservices.language.luis.authoring.models.enum
:param custom_prebuilt_domain_name: The domain name.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,9 @@ class CustomPrebuiltModel(Model):
:type type_id: int
:param readable_type: Required. Possible values include: 'Entity
Extractor', 'Hierarchical Entity Extractor', 'Hierarchical Child Entity
Extractor', 'Composite Entity Extractor', 'Closed List Entity Extractor',
Extractor', 'Composite Entity Extractor', 'List Entity Extractor',
'Prebuilt Entity Extractor', 'Intent Classifier', 'Pattern.Any Entity
Extractor', 'Regex Entity Extractor'
Extractor', 'Regular Expression Entity Extractor'
:type readable_type: str or
~azure.cognitiveservices.language.luis.authoring.models.enum
:param custom_prebuilt_domain_name: The domain name.
Expand Down
Loading

0 comments on commit 37650f5

Please sign in to comment.