Skip to content

Correct parsing of 'Nullable' attributes - #102

Merged
filak-sap merged 1 commit into
SAP:masterfrom
homutov:nullable_properties
Apr 30, 2020
Merged

filak-sap merged 1 commit into
SAP:masterfrom
homutov:nullable_properties

Conversation

@homutov

@homutov homutov commented Apr 29, 2020

Copy link
Copy Markdown

Changes:

  • Consistent way of parsing 'Nullable' bool attributes
  • Supports 'Nullable' attribute for properties (default: True)
  • Supports 'Nullable' attribute for function import parameters (default: False)

Fixes #98

@CLAassistant

CLAassistant commented Apr 29, 2020 •

Copy link
Copy Markdown

CLA assistant check
All committers have signed the CLA.

@codecov-io

codecov-io commented Apr 29, 2020 •

Copy link
Copy Markdown

Codecov Report

Merging #102 into master will increase coverage by 0.17%.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #102      +/-   ##
==========================================
+ Coverage   92.23%   92.41%   +0.17%     
==========================================
  Files           6        6              
  Lines        2434     2439       +5     
==========================================
+ Hits         2245     2254       +9     
+ Misses        189      185       -4     
Impacted Files Coverage Δ
pyodata/v2/model.py 92.94% <100.00%> (+0.07%) ⬆️
pyodata/v2/service.py 90.45% <0.00%> (+0.43%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update a810ce4...b595eca. Read the comment docs.

Comment thread pyodata/v2/model.py Resolved
@homutov
homutov force-pushed the nullable_properties branch from ecf6518 to bfa8ffa Compare April 29, 2020 22:30
Changes:
- Consistent way of parsing bool attributes
- Supports 'Nullable' attribute for properties (default: True)
- Supports 'Nullable' attribute for function import parameters (default: False)

Issue: SAP#98
@homutov
homutov force-pushed the nullable_properties branch from bfa8ffa to b595eca Compare April 29, 2020 22:39
@filak-sap
filak-sap merged commit f9144b3 into SAP:master Apr 30, 2020
@filak-sap

Copy link
Copy Markdown
Contributor

Well done! Thank you very much indeed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

nullable is incorrectly parsed from metadata

4 participants