issues
search
Aidbox
/
aidbox-sdk
Aidbox SDK Generator
GNU General Public License v3.0
0
stars
1
forks
source link
Fix Python lint errors
#28
Open
spicyfalafel
opened
1 month ago
spicyfalafel
commented
1 month ago
To fix:
[x]
hl7-fhir-r4-core/Account.py:6:14: E0602: Undefined variable 'Reference' (undefined-variable)
[x] hl7-fhir-r4-core/Account.py:1:0: W0622: Redefining built-in 'DeprecationWarning' (redefined-builtin)
[x] hl7-fhir-r4-core/Account.py:2:0: C0411: standard import "typing.Optional" should be placed before third party import "pydantic.*" (wrong-import-order)
[x] hl7-fhir-r4-core/Consent.py:18:10: E0001: Parsing failed: 'invalid syntax (Consent, line 18)' (syntax-error) why?
[x] class Cqf-questionnaire(DomainResource): - replace '-'. Same 'class Diagnosticreport-genetics(DomainResource)'
[x] fix python keyword properties name collision
[x] meta constructor
[x] fix BaseSearchParameters in r5
[x] add constructors by dataclass
[x] import Patient works
[x] fix search import
[x] fix hl7-fhir-r4-core -> hl7_fhir_r4_core
[x] fix backbone nested classes pascal case
[ ] fix USCORE import (not generating right now)
[ ] decide base/
init
.py or not.
[ ] hl7-fhir-r4-core/List.py:11:0: E0102: class already defined line 1 (function-redefined) + check List imports
[ ] fix lint multiple top-level packages found
https://github.com/Aidbox/aidbox-sdk/actions/runs/11055748438/job/30715653811
To fix: