Changelog¶
2.6.0 - Better control of Session¶
-
A single
Sessionobject is now managed by theAzmlClientinstance. This object is created by default, and possibly configured with the information from theClientConfig. It is automatically closed when the client instance is garbaged out. A customSessioncan be passed instead of the automatically-created one. In that case it is not automatically configured from theClientConfig, but it is easy to do so using<config>.configure_session(session). Fixes #15 and #16. -
create_session_for_proxy_from_stringsis deleted andcreate_session_for_proxyis deprecated. Users should now useset_http_proxy(session, ...)as the preferred way to configure a newrequests.Session()object. -
Fixed a bug (
Serieshas noitems()attribute) on some versions of pandas. -
Migration to Github Actions.
2.5.0 - New replace_NaN_with and replace_NaT_with options¶
- New
replace_NaN_withandreplace_NaT_withoptions to control howNaNandNaTget converted. Fixes #11 - packaging improvements: set the "universal wheel" flag to 1, and cleaned up the
setup.py. In particular removed dependency tosixfor setup and addedpy.typedfile. Added pyproject.toml too. Fixes #13
2.4.0 - new helper method + doc¶
New method create_response_body in RequestResponseClient. Updated doc to show how these goodies can be used.
2.3.2 - added __version__ attribute¶
Added __version__ at package level.
2.3.1 - Config files can now be templates¶
ClientConfig.load_config() now accepts keyword arguments that will be used as replacements for variables in the config files. Fixes #10.
New dependency: jinja2
2.2.0 - Request-Response: new default behaviour concerning outputs, and new parameter.¶
Low-level API:
-
RequestResponseClient.read_response_json_bodynow does not filter outputs anymore even if a non-Noneoutput_namesis provided. -
New parameter to
execute_rr:only_keep_selected_output_names. If this isTruethe legacy behaviour of filtering outputs by names is preserved. Otherwise all outputs are preserved. Fixes #9
High-level API:
AzureMLClient.call_azureml:ws_output_namesnow appears as optional in the type hints. Improved docstring comments slightly.
2.1.0 - High-level clients: swagger, remote-only services + Bugfix¶
New:
-
Swagger format is now supported in both high-level (call modes) and low-level (RR and Batch clients) API. Fixes #5.
-
New argument
remote_onlyto disable local usage of a service. Fixes #8.
Misc:
-
Fixed bug with decoding AzureML errors. Fixes #7.
-
call_local_service: renamed argumentservice_nametofunction_nameto distinguish better between the service (azureml) and the function (local implementation's method).
2.0.0 - New tools for high level api creation¶
New features:
AzureMLClienthelper class to create pythonic high-level APIs, supporting both local and remote call modes, and configurable from yaml and ini/cfg files.
Refactoring:
-
azure-storagedependency is now optional (only for batch mode) -
improved documentation and type hints, and changed some method names and contents to be more pythonic. This was indeed a quite old project :).
-
removed
use_new_wsfrom all methods - this concept is not meaningful anymore for AzureML usage. -
renamed
RR_ClientintoRequestResponseClientandBatch_ClientintoBatchClient. Old names will stay around for a version or two for compatibility reasons. -
got rid of the useless
Converterscontainer classes for data binding.
1.2.0 - Support for "swagger" mode¶
- Added
swagger=Truemode support for azureML calls
1.1.0 - Python 2 support, and a few bugfixes¶
- Updated this old project (my first public python package :) ) to more recent continuous integration and tests standards.
- Support for python 2
- A few bugfixes
- Added all correct dependencies in
setup.py
1.0.1 - First version¶
Request-response and Batch modes support, python 3 only.