File tree 2 files changed +5
-2
lines changed
2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -34,6 +34,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
34
34
- Import error while using python version prior to 3.7 - Martin Miksik
35
35
- Parsing datetime containing timezone information for python 3.6 and lower - Martin Miksik
36
36
- Type hinting for ErrorPolicy's children - Martin Miksik
37
+ - Error when printing navigation property without partner value - Martin Miksik
37
38
38
39
## [ 1.3.0]
39
40
Original file line number Diff line number Diff line change @@ -49,8 +49,10 @@ def print_out_metadata_info(args, client):
49
49
if client .schema .config .odata_version == ODataV2 :
50
50
print (f' + { prop .name } ({ prop .to_role .entity_type_name } )' )
51
51
else :
52
- print (f' + { prop .name } ({ prop .partner .name } )' )
53
-
52
+ if prop .partner :
53
+ print (f' + { prop .name } ({ prop .partner .name } )' )
54
+ else :
55
+ print (f' + { prop .name } ' )
54
56
for fs in client .schema .function_imports :
55
57
print (f'{ fs .http_method } { fs .name } ' )
56
58
You can’t perform that action at this time.
0 commit comments