Skip to content

Commit

Permalink
Updates version to 2.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
jeronimoalbi committed Mar 1, 2020
1 parent 7d4340e commit 3added6
Show file tree
Hide file tree
Showing 39 changed files with 60 additions and 40 deletions.
20 changes: 20 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,26 @@ and this project adheres to [Semantic Versioning](http://semver.org/).

## [Unreleased]

## [2.0.0] - 2020-03-01
### Fixed
- Fixes Param type resolution when no type is given
- Fixes broken tests
- Handle runtime call exceptions

### Changed
- Adds more tests
- Changes runtime call to save the call into the transport after errors
- Adds `get_timeout()` to ActionSchema
- Adds `get_url_host()` method to HttpRequest
- Fixes `HttpResponse.set_header()` to match new specifications
- Adds flake8 config file
- Changes pylama settings to use github review line length
- Improves `Param.get_value()`
- Changes max line length to 119 to match Github's code review line length
- Update param constructor and add value fallback
- Add overwrite option
- Update language support

## [1.0.1] - 2019-08-17
### Fixed
- Update value of default timeout
Expand Down
6 changes: 3 additions & 3 deletions kusanagi/__init__.py
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
# Python 3 SDK for the KUSANAGI(tm) framework (http://kusanagi.io)
# Copyright (c) 2016-2019 KUSANAGI S.L. All rights reserved.
# Copyright (c) 2016-2020 KUSANAGI S.L. All rights reserved.
#
# Distributed under the MIT license.
#
# For the full copyright and license information, please view the LICENSE
# file that was distributed with this source code.
__license__ = "MIT"
__copyright__ = "Copyright (c) 2016-2019 KUSANAGI S.L. (http://kusanagi.io)"
__version__ = '1.0.1'
__copyright__ = "Copyright (c) 2016-2020 KUSANAGI S.L. (http://kusanagi.io)"
__version__ = '2.0.0'
2 changes: 1 addition & 1 deletion kusanagi/errors.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Python 3 SDK for the KUSANAGI(tm) framework (http://kusanagi.io)
# Copyright (c) 2016-2019 KUSANAGI S.L. All rights reserved.
# Copyright (c) 2016-2020 KUSANAGI S.L. All rights reserved.
#
# Distributed under the MIT license.
#
Expand Down
2 changes: 1 addition & 1 deletion kusanagi/json.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Python 3 SDK for the KUSANAGI(tm) framework (http://kusanagi.io)
# Copyright (c) 2016-2019 KUSANAGI S.L. All rights reserved.
# Copyright (c) 2016-2020 KUSANAGI S.L. All rights reserved.
#
# Distributed under the MIT license.
#
Expand Down
2 changes: 1 addition & 1 deletion kusanagi/logging.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Python 3 SDK for the KUSANAGI(tm) framework (http://kusanagi.io)
# Copyright (c) 2016-2019 KUSANAGI S.L. All rights reserved.
# Copyright (c) 2016-2020 KUSANAGI S.L. All rights reserved.
#
# Distributed under the MIT license.
#
Expand Down
2 changes: 1 addition & 1 deletion kusanagi/middleware.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Python 3 SDK for the KUSANAGI(tm) framework (http://kusanagi.io)
# Copyright (c) 2016-2019 KUSANAGI S.L. All rights reserved.
# Copyright (c) 2016-2020 KUSANAGI S.L. All rights reserved.
#
# Distributed under the MIT license.
#
Expand Down
2 changes: 1 addition & 1 deletion kusanagi/payload.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Python 3 SDK for the KUSANAGI(tm) framework (http://kusanagi.io)
# Copyright (c) 2016-2019 KUSANAGI S.L. All rights reserved.
# Copyright (c) 2016-2020 KUSANAGI S.L. All rights reserved.
#
# Distributed under the MIT license.
#
Expand Down
2 changes: 1 addition & 1 deletion kusanagi/schema.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Python 3 SDK for the KUSANAGI(tm) framework (http://kusanagi.io)
# Copyright (c) 2016-2019 KUSANAGI S.L. All rights reserved.
# Copyright (c) 2016-2020 KUSANAGI S.L. All rights reserved.
#
# Distributed under the MIT license.
#
Expand Down
2 changes: 1 addition & 1 deletion kusanagi/sdk/__init__.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Python 3 SDK for the KUSANAGI(tm) framework (http://kusanagi.io)
# Copyright (c) 2016-2019 KUSANAGI S.L. All rights reserved.
# Copyright (c) 2016-2020 KUSANAGI S.L. All rights reserved.
#
# Distributed under the MIT license.
#
Expand Down
2 changes: 1 addition & 1 deletion kusanagi/sdk/action.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Python 3 SDK for the KUSANAGI(tm) framework (http://kusanagi.io)
# Copyright (c) 2016-2019 KUSANAGI S.L. All rights reserved.
# Copyright (c) 2016-2020 KUSANAGI S.L. All rights reserved.
#
# Distributed under the MIT license.
#
Expand Down
2 changes: 1 addition & 1 deletion kusanagi/sdk/base.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Python 3 SDK for the KUSANAGI(tm) framework (http://kusanagi.io)
# Copyright (c) 2016-2019 KUSANAGI S.L. All rights reserved.
# Copyright (c) 2016-2020 KUSANAGI S.L. All rights reserved.
#
# Distributed under the MIT license.
#
Expand Down
2 changes: 1 addition & 1 deletion kusanagi/sdk/component.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Python 3 SDK for the KUSANAGI(tm) framework (http://kusanagi.io)
# Copyright (c) 2016-2019 KUSANAGI S.L. All rights reserved.
# Copyright (c) 2016-2020 KUSANAGI S.L. All rights reserved.
#
# Distributed under the MIT license.
#
Expand Down
2 changes: 1 addition & 1 deletion kusanagi/sdk/file.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Python 3 SDK for the KUSANAGI(tm) framework (http://kusanagi.io)
# Copyright (c) 2016-2019 KUSANAGI S.L. All rights reserved.
# Copyright (c) 2016-2020 KUSANAGI S.L. All rights reserved.
#
# Distributed under the MIT license.
#
Expand Down
2 changes: 1 addition & 1 deletion kusanagi/sdk/http/request.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Python 3 SDK for the KUSANAGI(tm) framework (http://kusanagi.io)
# Copyright (c) 2016-2019 KUSANAGI S.L. All rights reserved.
# Copyright (c) 2016-2020 KUSANAGI S.L. All rights reserved.
#
# Distributed under the MIT license.
#
Expand Down
2 changes: 1 addition & 1 deletion kusanagi/sdk/http/response.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Python 3 SDK for the KUSANAGI(tm) framework (http://kusanagi.io)
# Copyright (c) 2016-2019 KUSANAGI S.L. All rights reserved.
# Copyright (c) 2016-2020 KUSANAGI S.L. All rights reserved.
#
# Distributed under the MIT license.
#
Expand Down
2 changes: 1 addition & 1 deletion kusanagi/sdk/middleware.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Python 3 SDK for the KUSANAGI(tm) framework (http://kusanagi.io)
# Copyright (c) 2016-2019 KUSANAGI S.L. All rights reserved.
# Copyright (c) 2016-2020 KUSANAGI S.L. All rights reserved.
#
# Distributed under the MIT license.
#
Expand Down
2 changes: 1 addition & 1 deletion kusanagi/sdk/param.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Python 3 SDK for the KUSANAGI(tm) framework (http://kusanagi.io)
# Copyright (c) 2016-2019 KUSANAGI S.L. All rights reserved.
# Copyright (c) 2016-2020 KUSANAGI S.L. All rights reserved.
#
# Distributed under the MIT license.
#
Expand Down
2 changes: 1 addition & 1 deletion kusanagi/sdk/request.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Python 3 SDK for the KUSANAGI(tm) framework (http://kusanagi.io)
# Copyright (c) 2016-2019 KUSANAGI S.L. All rights reserved.
# Copyright (c) 2016-2020 KUSANAGI S.L. All rights reserved.
#
# Distributed under the MIT license.
#
Expand Down
2 changes: 1 addition & 1 deletion kusanagi/sdk/response.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Python 3 SDK for the KUSANAGI(tm) framework (http://kusanagi.io)
# Copyright (c) 2016-2019 KUSANAGI S.L. All rights reserved.
# Copyright (c) 2016-2020 KUSANAGI S.L. All rights reserved.
#
# Distributed under the MIT license.
#
Expand Down
2 changes: 1 addition & 1 deletion kusanagi/sdk/runner.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Python 3 SDK for the KUSANAGI(tm) framework (http://kusanagi.io)
# Copyright (c) 2016-2019 KUSANAGI S.L. All rights reserved.
# Copyright (c) 2016-2020 KUSANAGI S.L. All rights reserved.
#
# Distributed under the MIT license.
#
Expand Down
2 changes: 1 addition & 1 deletion kusanagi/sdk/schema/action.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Python 3 SDK for the KUSANAGI(tm) framework (http://kusanagi.io)
# Copyright (c) 2016-2019 KUSANAGI S.L. All rights reserved.
# Copyright (c) 2016-2020 KUSANAGI S.L. All rights reserved.
#
# Distributed under the MIT license.
#
Expand Down
2 changes: 1 addition & 1 deletion kusanagi/sdk/schema/error.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Python 3 SDK for the KUSANAGI(tm) framework (http://kusanagi.io)
# Copyright (c) 2016-2019 KUSANAGI S.L. All rights reserved.
# Copyright (c) 2016-2020 KUSANAGI S.L. All rights reserved.
#
# Distributed under the MIT license.
#
Expand Down
2 changes: 1 addition & 1 deletion kusanagi/sdk/schema/file.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Python 3 SDK for the KUSANAGI(tm) framework (http://kusanagi.io)
# Copyright (c) 2016-2019 KUSANAGI S.L. All rights reserved.
# Copyright (c) 2016-2020 KUSANAGI S.L. All rights reserved.
#
# Distributed under the MIT license.
#
Expand Down
2 changes: 1 addition & 1 deletion kusanagi/sdk/schema/param.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Python 3 SDK for the KUSANAGI(tm) framework (http://kusanagi.io)
# Copyright (c) 2016-2019 KUSANAGI S.L. All rights reserved.
# Copyright (c) 2016-2020 KUSANAGI S.L. All rights reserved.
#
# Distributed under the MIT license.
#
Expand Down
2 changes: 1 addition & 1 deletion kusanagi/sdk/schema/service.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Python 3 SDK for the KUSANAGI(tm) framework (http://kusanagi.io)
# Copyright (c) 2016-2019 KUSANAGI S.L. All rights reserved.
# Copyright (c) 2016-2020 KUSANAGI S.L. All rights reserved.
#
# Distributed under the MIT license.
#
Expand Down
2 changes: 1 addition & 1 deletion kusanagi/sdk/service.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Python 3 SDK for the KUSANAGI(tm) framework (http://kusanagi.io)
# Copyright (c) 2016-2019 KUSANAGI S.L. All rights reserved.
# Copyright (c) 2016-2020 KUSANAGI S.L. All rights reserved.
#
# Distributed under the MIT license.
#
Expand Down
2 changes: 1 addition & 1 deletion kusanagi/sdk/transport/__init__.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Python 3 SDK for the KUSANAGI(tm) framework (http://kusanagi.io)
# Copyright (c) 2016-2019 KUSANAGI S.L. All rights reserved.
# Copyright (c) 2016-2020 KUSANAGI S.L. All rights reserved.
#
# Distributed under the MIT license.
#
Expand Down
2 changes: 1 addition & 1 deletion kusanagi/sdk/transport/call.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Python 3 SDK for the KUSANAGI(tm) framework (http://kusanagi.io)
# Copyright (c) 2016-2019 KUSANAGI S.L. All rights reserved.
# Copyright (c) 2016-2020 KUSANAGI S.L. All rights reserved.
#
# Distributed under the MIT license.
#
Expand Down
2 changes: 1 addition & 1 deletion kusanagi/sdk/transport/data.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Python 3 SDK for the KUSANAGI(tm) framework (http://kusanagi.io)
# Copyright (c) 2016-2019 KUSANAGI S.L. All rights reserved.
# Copyright (c) 2016-2020 KUSANAGI S.L. All rights reserved.
#
# Distributed under the MIT license.
#
Expand Down
2 changes: 1 addition & 1 deletion kusanagi/sdk/transport/error.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Python 3 SDK for the KUSANAGI(tm) framework (http://kusanagi.io)
# Copyright (c) 2016-2019 KUSANAGI S.L. All rights reserved.
# Copyright (c) 2016-2020 KUSANAGI S.L. All rights reserved.
#
# Distributed under the MIT license.
#
Expand Down
2 changes: 1 addition & 1 deletion kusanagi/sdk/transport/link.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Python 3 SDK for the KUSANAGI(tm) framework (http://kusanagi.io)
# Copyright (c) 2016-2019 KUSANAGI S.L. All rights reserved.
# Copyright (c) 2016-2020 KUSANAGI S.L. All rights reserved.
#
# Distributed under the MIT license.
#
Expand Down
2 changes: 1 addition & 1 deletion kusanagi/sdk/transport/relation.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Python 3 SDK for the KUSANAGI(tm) framework (http://kusanagi.io)
# Copyright (c) 2016-2019 KUSANAGI S.L. All rights reserved.
# Copyright (c) 2016-2020 KUSANAGI S.L. All rights reserved.
#
# Distributed under the MIT license.
#
Expand Down
2 changes: 1 addition & 1 deletion kusanagi/sdk/transport/transaction.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Python 3 SDK for the KUSANAGI(tm) framework (http://kusanagi.io)
# Copyright (c) 2016-2019 KUSANAGI S.L. All rights reserved.
# Copyright (c) 2016-2020 KUSANAGI S.L. All rights reserved.
#
# Distributed under the MIT license.
#
Expand Down
2 changes: 1 addition & 1 deletion kusanagi/serialization.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Python 3 SDK for the KUSANAGI(tm) framework (http://kusanagi.io)
# Copyright (c) 2016-2019 KUSANAGI S.L. All rights reserved.
# Copyright (c) 2016-2020 KUSANAGI S.L. All rights reserved.
#
# Distributed under the MIT license.
#
Expand Down
2 changes: 1 addition & 1 deletion kusanagi/server.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Python 3 SDK for the KUSANAGI(tm) framework (http://kusanagi.io)
# Copyright (c) 2016-2019 KUSANAGI S.L. All rights reserved.
# Copyright (c) 2016-2020 KUSANAGI S.L. All rights reserved.
#
# Distributed under the MIT license.
#
Expand Down
2 changes: 1 addition & 1 deletion kusanagi/service.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Python 3 SDK for the KUSANAGI(tm) framework (http://kusanagi.io)
# Copyright (c) 2016-2019 KUSANAGI S.L. All rights reserved.
# Copyright (c) 2016-2020 KUSANAGI S.L. All rights reserved.
#
# Distributed under the MIT license.
#
Expand Down
2 changes: 1 addition & 1 deletion kusanagi/urn.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Python 3 SDK for the KUSANAGI(tm) framework (http://kusanagi.io)
# Copyright (c) 2016-2019 KUSANAGI S.L. All rights reserved.
# Copyright (c) 2016-2020 KUSANAGI S.L. All rights reserved.
#
# Distributed under the MIT license.
#
Expand Down
2 changes: 1 addition & 1 deletion kusanagi/utils.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Python 3 SDK for the KUSANAGI(tm) framework (http://kusanagi.io)
# Copyright (c) 2016-2019 KUSANAGI S.L. All rights reserved.
# Copyright (c) 2016-2020 KUSANAGI S.L. All rights reserved.
#
# Distributed under the MIT license.
#
Expand Down
2 changes: 1 addition & 1 deletion kusanagi/versions.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Python 3 SDK for the KUSANAGI(tm) framework (http://kusanagi.io)
# Copyright (c) 2016-2019 KUSANAGI S.L. All rights reserved.
# Copyright (c) 2016-2020 KUSANAGI S.L. All rights reserved.
#
# Distributed under the MIT license.
#
Expand Down

0 comments on commit 3added6

Please sign in to comment.