File: __init__.py

package info (click to toggle)
python-azure 20181112%2Bgit-2
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 407,300 kB
  • sloc: python: 717,190; makefile: 201; sh: 76
file content (53 lines) | stat: -rw-r--r-- 1,787 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
# coding=utf-8
# --------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for
# license information.
#
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is
# regenerated.
# --------------------------------------------------------------------------

try:
    from .spelling_token_suggestion_py3 import SpellingTokenSuggestion
    from .spelling_flagged_token_py3 import SpellingFlaggedToken
    from .spell_check_py3 import SpellCheck
    from .answer_py3 import Answer
    from .response_py3 import Response
    from .identifiable_py3 import Identifiable
    from .error_py3 import Error
    from .error_response_py3 import ErrorResponse, ErrorResponseException
    from .response_base_py3 import ResponseBase
except (SyntaxError, ImportError):
    from .spelling_token_suggestion import SpellingTokenSuggestion
    from .spelling_flagged_token import SpellingFlaggedToken
    from .spell_check import SpellCheck
    from .answer import Answer
    from .response import Response
    from .identifiable import Identifiable
    from .error import Error
    from .error_response import ErrorResponse, ErrorResponseException
    from .response_base import ResponseBase
from .spell_check_api_enums import (
    ErrorType,
    ErrorCode,
    ErrorSubCode,
    ActionType,
)

__all__ = [
    'SpellingTokenSuggestion',
    'SpellingFlaggedToken',
    'SpellCheck',
    'Answer',
    'Response',
    'Identifiable',
    'Error',
    'ErrorResponse', 'ErrorResponseException',
    'ResponseBase',
    'ErrorType',
    'ErrorCode',
    'ErrorSubCode',
    'ActionType',
]