Граф коммитов

16 Коммитов

Автор SHA1 Сообщение Дата
Hugo van Kemenade c1cfe2f3d3
Add support for Python 3.11 (#256) 2022-11-08 12:53:00 -08:00
Laurent Mazuel fd5c04d040
Move tests to autorestv3 branch (#202)
* Move tests to autorestv3 branch

* CI fix

* Install testserver only

* Fix autorest deps

* Fix path

* Tox attempt 2

* Fix CI new attempt

* Re-fix

* Re-fix

* Replace by bash
2020-06-18 16:46:17 -07:00
Laurent Mazuel 4a0a44ae6d
Remove Pipenv (#187)
* Remove Pipenv

* Kill pipenv in Travis

* Fix Travis

* Conditional mypy

* Missing aiohttp
2019-12-26 12:04:35 -08:00
Laurent Mazuel 93e54a4329
Prevent coverage 5.x failure (#185)
* Prevent coverage 5.x failure

* Update Pipfile

* Update tox.ini
2019-12-19 13:27:33 -08:00
Laurent Mazuel 3653d29fc4
Pipeline (#106)
* Pipeline renaming

* Work in progress

* Work in progress 2

* Move formData to ClientRequest

* Pure ClientRequest with no requests

* Add kwargs for send

* Pipeline update

* First pass on tests

* Some typehints

* Fixing all tests

* Full Pipeline mypy

* Py3 mock compat

* Pipeline and stream download

* First pass on Autorest testserver

* While making coverage report, don't cry for async

* Pylint

* Add absolute_import for Py2.7

* Fix ABC for 2.7

* Add absolute_import to another file for 2.7

* Pipeline is a context manager

* Some async ABC

* Move mypy to 3.6

* Fix empty policies

* aiohttp proof of concepts

* Simplify ClientResponse

* Improve response handling + async fixes

* Fix mypy

* Create a basic HTTPSender

* async dependencies

* Fix Pipfile for asyncio

* Py3.5 compat

* Add universal to async tests

* Basic requests as asyncio impl

* Remove check_redirect from configuration

* Improve default pipeline

* Make pipeline a public attribute

* Split configuration for pipeline

* Refactor config

* Restore exception

* mypy happiness

* Split requests configuration

* Simplify keep_alive behavior

* Default parameter

* Rename to on_request/on_response after feedback

* Multi-thread compatible HTTP requests sender

* Squashed commit of the following:

commit 3246847c2f
Merge: 18cb696 388e8d0
Author: Laurent Mazuel <laurent.mazuel@gmail.com>
Date:   Thu Jun 14 15:26:57 2018 -0700

    Merge remote-tracking branch 'origin/master' into async2

commit 18cb696109
Author: Laurent Mazuel <laurent.mazuel@gmail.com>
Date:   Wed May 23 11:30:00 2018 -0700

    MyPy happiness

commit bd7123396b
Merge: a997e97 3a8b79d
Author: Laurent Mazuel <laurent.mazuel@gmail.com>
Date:   Wed May 23 11:23:44 2018 -0700

    Merge branch 'master' into async2

commit a997e97cd9
Merge: 4130eca 2b7d778
Author: Laurent Mazuel <laurent.mazuel@gmail.com>
Date:   Wed May 9 13:54:11 2018 -0700

    Merge remote-tracking branch 'origin/master' into async2

commit 4130eca92a
Merge: 8ffedd8 9d81113
Author: Laurent Mazuel <laurent.mazuel@gmail.com>
Date:   Fri Apr 20 10:38:45 2018 -0700

    Merge remote-tracking branch 'origin/master' into async2

commit 8ffedd8a3a
Author: Laurent Mazuel <laurent.mazuel@gmail.com>
Date:   Tue Mar 20 15:36:40 2018 -0700

    Refactor a little async stream download

commit bbf1259ca8
Author: Laurent Mazuel <laurent.mazuel@gmail.com>
Date:   Fri Mar 16 17:20:07 2018 -0700

    Add stream upload support

commit 2d260036f6
Author: Laurent Mazuel <laurent.mazuel@gmail.com>
Date:   Tue Feb 27 16:25:33 2018 -0800

    Fix incorrect request call

commit 6b55d4f633
Author: Laurent Mazuel <laurent.mazuel@gmail.com>
Date:   Wed Jan 17 13:39:18 2018 -0800

    Add status/finished to async poller

commit 02c333eb13
Author: Laurent Mazuel <laurent.mazuel@gmail.com>
Date:   Tue Jan 16 15:50:06 2018 -0800

    Port stream to async implementation

commit b3f0ac7d29
Author: Laurent Mazuel <laurent.mazuel@gmail.com>
Date:   Tue Jan 16 15:32:23 2018 -0800

    Add AsyncPoller

commit 3e9e17883e
Author: Laurent Mazuel <laurent.mazuel@gmail.com>
Date:   Thu Dec 7 16:13:06 2017 -0800

    Sync ServiceClientAsync with latest fixes

commit 5483e289b5
Author: Laurent Mazuel <laurent.mazuel@gmail.com>
Date:   Thu Jul 20 11:27:05 2017 -0700

    Address feedback from @brettcannon on async

commit c99f4b71a7
Author: Laurent Mazuel <laurent.mazuel@gmail.com>
Date:   Tue Jul 18 13:14:27 2017 -0700

    Robust coverage xml report

commit e0c6d3e42b
Author: Laurent Mazuel <laurent.mazuel@gmail.com>
Date:   Tue Jul 18 12:23:12 2017 -0700

    Rename SC mixin

commit 8e029ff0be
Author: Laurent Mazuel <laurent.mazuel@gmail.com>
Date:   Tue Jul 18 12:12:12 2017 -0700

    Add async_get to paging

commit f3dfaf6526
Author: Laurent Mazuel <laurent.mazuel@gmail.com>
Date:   Tue Jul 18 12:06:20 2017 -0700

    Rename paging mixin

commit 2f7142d211
Author: Laurent Mazuel <laurent.mazuel@gmail.com>
Date:   Tue Jul 18 12:05:34 2017 -0700

    async_get_next in paging

commit 9e821009c4
Author: Laurent Mazuel <laurent.mazuel@gmail.com>
Date:   Tue Jul 18 11:20:24 2017 -0700

    async send form data

commit 17045f776e
Author: Laurent Mazuel <laurent.mazuel@gmail.com>
Date:   Tue Jul 18 11:18:46 2017 -0700

    Add async client mixin

commit 3294115452
Author: Laurent Mazuel <laurent.mazuel@gmail.com>
Date:   Tue Jul 18 11:08:37 2017 -0700

    Fix Py3.5 async tests

commit 615f672aec
Author: Laurent Mazuel <laurent.mazuel@gmail.com>
Date:   Tue Jul 18 10:31:54 2017 -0700

    Async paging with mixin

* Remove useless tox line

* Add credentials to async requests

* Add trio support

* Revamp async stream download

* Add pipeline Response wrapper

* Introduce a raw deserializer as a policy

* SansIO on_exception

* Fix deserialization tests

* Implement #116 - Env variable for UserAgent

* Revamp streaming

* Logger should not log streamable response

* Put pipeline in config

* Mypy fixes

* Update mypy 0.620

* Fix trio dep

* Create universal HTTP package

* Pipeline as a universal HTTP implementation, no mypy

* Pipeline as a universal HTTP implementation, with mypy

* Backward compatible ServiceClient

* Doc update

* Make config optional in requests engine

* Fix types for MyPY 0.630

* Credentials can be directly a Policy

* msrest[async]

* 0.6.0rc1 first ChangeLog

* Don't coverage report the TYPE_CHECKING import

* Fix dev install on 3.5 and more

* 0.6.0rc1

* Pre-load aiohttp body

* sync ServiceClient returns requersts.Response

* Fix import issue

* Remove concept of requests_kwargs

* Fix hooks parameter
2018-10-02 15:35:59 -07:00
Laurent Mazuel 6d21779142
XML and object type (#111)
* Deserialization of XML and object type

* Serialization of XML and object type

* Fix tox for Autorest

* Simplify Travis for latest Autorest testserver integration
2018-06-20 17:23:51 -07:00
Laurent Mazuel c42fc9988e
XML/JSON unpacking hack (#102)
* XML/JSON unpacking hack

* Don't need dev_req anymore

* More tests

* Handle Accept to open XML

* Pipenv skip lock on Travis

* Py2.7 robust
2018-05-22 15:42:33 -07:00
Laurent Mazuel 45cbf08b81 Fix CI after Autorest split 2017-09-08 07:27:42 -07:00
Laurent Mazuel 09d69205a8 Stop installing flake8 for nothing 2017-08-09 17:23:06 -07:00
Laurent Mazuel f4c032e9f1 Use pytest for tests discovering 2017-07-18 09:20:22 -07:00
Laurent Mazuel 9aeea2afa7 Fix adapter life cycle to avoid Pool is closed 2017-04-10 10:59:13 -07:00
Laurent Mazuel 7e616deda0 Autorest test in Travis 2017-03-28 16:14:25 -07:00
Laurent Mazuel e2785d3b45 CodeCov 2016-12-08 15:19:46 -08:00
Brett Cannon 2567d99fdc Clean up development dependency specifications 2016-10-31 12:36:07 -07:00
Laurent Mazuel b3842dc529 Add py33 and py34 to Travis 2016-10-17 15:56:43 -07:00
Laurent Mazuel 4fd11e5923 Initial commit from Autorest d9b5b340a 2016-10-17 15:34:57 -07:00