1 # Authors: Sylvain MARIE <sylvain.marie@se.com>
2 # + All contributors to <https://github.com/smarie/python-azureml-client>
3 #
4 # License: 3-clause BSD, <https://github.com/smarie/python-azureml-client/blob/master/LICENSE>
5 from .requests_utils import set_http_proxy
6
7 from .base_databinding import AzmlException
8 # do not import since azure-storage package is optional
9 # from .base_databinding_blobs import BlobConverters, BlobCollectionConverters
10 from .base import execute_rr, execute_bes, IllegalJobStateException, JobExecutionException, RequestResponseClient, \
11 BatchClient, create_session_for_proxy
12
13 from .clients_config import GlobalConfig, ServiceConfig, ClientConfig, ConfigTemplateSyntaxError
14 from .clients_callmodes import CallMode, RemoteCallMode, RequestResponse, Batch
15 from .clients import AzureMLClient, azureml_service, unpack_single_value_from_df, LocalCallModeNotAllowed
16
17 try:
18 # Distribution mode : import from _version.py generated by setuptools_scm during release
19 from ._version import version as __version__
20 except ImportError:
21 # Source mode : use setuptools_scm to get the current version from src using git
22 from setuptools_scm import get_version as _gv
23 from os import path as _path
24 __version__ = _gv(_path.join(_path.dirname(__file__), _path.pardir))
25
26 __all__ = [
27 '__version__',
28 # submodules
29 'base_databinding', 'base', 'requests_utils', 'clients', 'clients_callmodes', 'clients_config',
30 # symbols imported above
31 # -- base_databinding
32 'AzmlException',
33 # -- base databinding blob: do not import since azure-storage package is optional
-
E265
Block comment should start with '# '
34 #'BlobConverters', 'BlobCollectionConverters',
35 # -- requests_utils
36 'set_http_proxy',
37 # -- base
38 'execute_rr', 'execute_bes', 'IllegalJobStateException', 'JobExecutionException', 'create_session_for_proxy',
39 'RequestResponseClient', 'BatchClient',
40 # -- clients_config
41 'GlobalConfig', 'ServiceConfig', 'ClientConfig', 'ConfigTemplateSyntaxError',
42 # -- clients_callmodes
43 'CallMode', 'RemoteCallMode', 'RequestResponse', 'Batch',
44 # -- clients
45 'AzureMLClient', 'azureml_service', 'unpack_single_value_from_df', 'LocalCallModeNotAllowed'
46 ]