• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

eclipse-aascw / aas-core-codegen
90%

Build:
DEFAULT BRANCH: main
Repo Added 08 Sep 2026 12:32PM UTC
Token 6OEr7MwyCApRy9pVaul2mNkdHJbxMzUly regen
Build 389 Last
Files 309
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

LAST BUILD ON BRANCH main
branch: SELECT
CHANGE BRANCH
x
Sync Branches
  • No branch selected
  • Add-roots-to-named-unions
  • Import-List-in-Java-verification
  • Skip-parse-loop-of-classes-without-properties-in-TypeScript
  • Test-nested-any-in-all
  • Transpile-isinstance
  • Transpile-modulo-negation-and-abs
  • add-float-only-fixture
  • chriskoo/fix-golang-readonly-slice-arguments
  • chriskoo/fix-golang-regex-escaping
  • chriskoo/fix-xsd-regex-escaping
  • compose-cpp-json-deserialization
  • compose-cpp-json-serialization
  • compose-cpp-xml-deserialization
  • compose-cpp-xml-serialization
  • cpp-fix-clang-debug-builds
  • main
  • mristin/Accept-an-integral-JSON-number-as-a-float-in-Python
  • mristin/Add-CLAUDE.md
  • mristin/Add-XSD-edge-case-fixtures-for-the-primitive-types
  • mristin/Add-fast-checks-for-live-tests
  • mristin/Add-missing-unserializable-assert-test-data
  • mristin/Add-visibility-to-functions-and-methods
  • mristin/Align-cpp-description-of-xml-nodes
  • mristin/Allow-Final-on-local-variables
  • mristin/Allow-collections-in-returns
  • mristin/Allow-functions-without-arguments
  • mristin/Allow-importing-constant-markers
  • mristin/Allow-length-as-switch-subject
  • mristin/Avoid-naming-collisions-in-cpp-verification
  • mristin/Avoid-pessimizing-move-in-cpp-xmlization-tests
  • mristin/Carry-the-literal-text-on-the-Java-enum
  • mristin/Check-the-argument-of-len-and-support-tuples
  • mristin/Check-the-membership-in-a-JSON-able-object
  • mristin/Collapse-whitespace-per-XSD-in-the-XML
  • mristin/Compare-JSON-names-in-union-dispatch-check
  • mristin/Compose-Go-JSON-de-serialization
  • mristin/Compose-Go-JSON-serialization
  • mristin/Compose-Go-XML-de-serialization
  • mristin/Compose-Go-XML-serialization
  • mristin/Compose-Java-JSON-de-serialization
  • mristin/Compose-Java-JSON-serialization
  • mristin/Compose-Java-XML-serialization
  • mristin/Compose-Python-JSON-de-serialization
  • mristin/Compose-Python-JSON-serialization
  • mristin/Compose-the-C++-descent
  • mristin/Compose-the-CSharp-deep-copy
  • mristin/Compose-the-Go-enhancing
  • mristin/Compose-the-Java-descent
  • mristin/Compose-the-Python-XML-deserialization
  • mristin/Compose-the-Python-XML-serialization
  • mristin/Compose-the-TypeScript-JSON-de-serialization
  • mristin/Compose-the-TypeScript-JSON-serialization
  • mristin/Compose-the-TypeScript-XML-de-serialization
  • mristin/Compose-the-TypeScript-XML-serialization
  • mristin/Compose-the-TypeScript-descent
  • mristin/Compose-the-TypeScript-verification
  • mristin/Compose-the-cpp-enhancing
  • mristin/Compose-the-csharp-descent
  • mristin/Compose-the-csharp-enhancing
  • mristin/Compose-the-csharp-verification
  • mristin/Compose-the-golang-verification
  • mristin/Compose-the-java-verification
  • mristin/Copy-read-only-sets-in-Python-set-ops
  • mristin/Count-code-points-in-len-slicing-and-find
  • mristin/De-compose-XML-de-serialization-in-Java
  • mristin/Declare-integer-locals-as-64-bit
  • mristin/Declare-mutability-of-verification-params
  • mristin/Decompose-csharp-json-deserialization
  • mristin/Decompose-csharp-json-serialization
  • mristin/Decompose-csharp-xml-serialization
  • mristin/Decompose-csharp-xmlization-property-reading
  • mristin/Derive-string-helpers-from-inferred-types
  • mristin/Drop-the-implementation-specific-classes
  • mristin/Emit-the-JSON-able-using-in-the-csharp-verification
  • mristin/Enforce-Final-on-global-constants
  • mristin/Expect-csharp-property-names-in-JSON-tests
  • mristin/Explain-reads-from-previous-loop-iterations
  • mristin/Extend-the-common-meta-model-for-tuples-with-an-optional-tuple
  • mristin/Fix-HasIterparse-for-newer-typeshed
  • mristin/Fix-Java-enhancing-lambda-collision
  • mristin/Fix-XML-paths-of-container-items-in-C++
  • mristin/Fix-constructor-headers-without-arguments
  • mristin/Fix-empty-tag-regex-in-Go-XML-tests
  • mristin/Fix-line-breaks-of-returns-in-TypeScript
  • mristin/Fix-module-of-ts-verification-return-types
  • mristin/Fix-mypy-narrowing-of-index-target
  • mristin/Fix-optional-arguments-and-locals
  • mristin/Fix-signatures-of-methods-with-two-arguments
  • mristin/Fix-the-DeserializeException-in-the-generated-Java-tests
  • mristin/Fix-the-XSD-lexical-forms-in-the-CSharp-XML
  • mristin/Fix-the-XSD-lexical-forms-in-the-Java-XML
  • mristin/Fix-the-XSD-lexical-forms-in-the-Python-XML
  • mristin/Fix-the-XSD-lexical-forms-in-the-TypeScript-XML
  • mristin/Fix-the-double-precision-in-the-C++-XML
  • mristin/Fix-the-type-monikers-in-CSharp-and-Golang
  • mristin/Handle-null-from-JsonValue-Create-in-csharp
  • mristin/Handle-variable-long-indices-in-csharp-and-java
  • mristin/Include-fstream-in-C++-tests-reading-files
  • mristin/Index-into-and-compute-the-length-of-a-JSON-able-object-or-array
  • mristin/Index-the-Java-XML-writers-by-kind
  • mristin/Index-the-TypeScript-enum-tables
  • mristin/Infer-types-once-per-target
  • mristin/Inline-single-use-functions-in-the-Java-generator
  • mristin/Introduce-built-in-function-kinds
  • mristin/Introduce-comparisons-of-strings-and-booleans
  • mristin/Iterate-cpp-lazily-with-iterator-combinators
  • mristin/Key-model-cache-on-translation-code
  • mristin/Lint-Python-live-tests-with-ruff
  • mristin/Make-Python-HasIterparse-compatible-with-mypy-2.4
  • mristin/Make-generated-code-AAS-agnostic
  • mristin/Make-read-only-sequences-generic
  • mristin/Move-uses-checks-to-intermediate-uses
  • mristin/Name-the-Java-XML-writers-without-a-kind-enum
  • mristin/Narrow-in-if-statements
  • mristin/Nest-containers
  • mristin/Parse-lone-if-as-if-statement
  • mristin/Polyfill-the-cpp-variant-for-cpp11
  • mristin/Refuse-a-malformed-base64-uniformly-in-the-XML
  • mristin/Reject-duplicate-properties-in-the-XML
  • mristin/Reject-non-finite-floats-in-the-C++-JSON
  • mristin/Reject-non-finite-floats-in-the-CSharp-JSON
  • mristin/Reject-non-finite-floats-in-the-Go-JSON
  • mristin/Reject-non-finite-floats-in-the-Java-JSON
  • mristin/Reject-non-finite-floats-in-the-Python-JSON
  • mristin/Reject-non-finite-floats-in-the-TypeScript-JSON
  • mristin/Release-0.0.27rc1
  • mristin/Release-0.0.27rc2
  • mristin/Release-0.0.27rc3
  • mristin/Remove-dates-in-NOTE-comments
  • mristin/Remove-unrolling
  • mristin/Replace-pylint-with-ruff
  • mristin/Report-nested-element-in-CSharp-XML-text
  • mristin/Report-the-XML-serialization-error-path
  • mristin/Round-out-of-range-doubles-per-XSD-in-the-XML
  • mristin/Simplify-JSON-and-XML-serialization
  • mristin/Simplify-de-serialization
  • mristin/Simplify-the-infallible-cpp-generators
  • mristin/Smoke-test-all-generators
  • mristin/Speed-up-cpp-live-tests
  • mristin/State-the-type-instead-of-contracting-it
  • mristin/Support-meth-role-in-descriptions
  • mristin/Support-named-unions
  • mristin/Support-set-properties
  • mristin/Support-the-implementation-specific-in-cpp
  • mristin/Support-tuples
  • mristin/Support-value-only
  • mristin/Trace-JSON-values-in-tests-of-all-targets
  • mristin/Track-test-data-of-Instance-in-naming-collisions
  • mristin/Transpile-annotated-assignments
  • mristin/Transpile-assert-statements
  • mristin/Transpile-break-in-for-statements
  • mristin/Transpile-continue-in-for-statements
  • mristin/Transpile-equality-if-chains-as-switches
  • mristin/Transpile-for-statements
  • mristin/Transpile-if-statements
  • mristin/Transpile-local-sets-of-primitives
  • mristin/Transpile-member-and-index-assignment-targets
  • mristin/Transpile-methods
  • mristin/Transpile-str.rstrip
  • mristin/Transpile-str.startswith-and-str.endswith
  • mristin/Transpile-string-concatenation
  • mristin/Transpile-string-slicing-and-find
  • mristin/Type-the-runtime-IDs
  • mristin/Unify-JSON-error-paths-across-targets
  • mristin/Unify-XML-error-paths-across-targets
  • mristin/Unwrap-narrowed-nullables-in-cs-tuples
  • mristin/Use-annotations-in-generated-Python
  • mristin/Verify-cpp-lazily-with-iterator-combinators
  • mristin/Wrap-an-optional-list-of-non-instances-in-cpp
  • mristin/clean-up-comments-and-implement-noted-tests
  • mristin/compose-golang-descent
  • mristin/compose-golang-test-deep-equal
  • mristin/compose-java-deep-copy
  • mristin/compose-java-enhancing
  • mristin/compose-java-test-copying
  • mristin/compose-python-descent
  • mristin/compose-python-verification
  • mristin/fix-java-boxed-equality
  • mristin/support-in-on-lists
  • mristin/support-list-literals-and-append
  • mristin/transpile-int-and-lstrip
  • mristin/upgrade-pip-in-python-live-test
  • prepend-path-segments-in-constant-time
  • remove-textwrap-dedent
  • simplify-csharp-jsonization-modeltype
  • support-func-role-in-docs
  • v0.0.27rc1
  • v0.0.27rc2
  • v0.0.27rc3

25 Oct 2026 12:09AM UTC coverage: 90.233% (+0.007%) from 90.226%
40145579048

push

github

web-flow
Use annotations in the generated Python code (#868)

We generate the Python SDK without ``# pylint:`` comments, as we lint it
with ruff now, and with type annotations instead of type comments:

    self._segments: List[Segment] = []

instead of ``self._segments = []  # type: List[Segment]``. Ruff does not
see the type comments, so we can check for the unused imports in
the live tests now.

We import only what is needed in the constants, the stringification and
the tests. For example, a test module imports the SDK only if it
contains any tests. We ignore the unused imports in the types,
the verification and the JSON and XML de/serialization, as what they
need depends on the meta-model and the snippets.

58 of 58 new or added lines in 9 files covered. (100.0%)

2 existing lines in 2 files now uncovered.

46406 of 51429 relevant lines covered (90.23%)

2.71 hits per line

Relevant lines Covered
Build:
Build:
51429 RELEVANT LINES 46406 COVERED LINES
2.71 HITS PER LINE
Source Files on main
  • Tree
  • List 309
  • Changed 20
  • Source Changed 0
  • Coverage Changed 20
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
40145579048 main Use annotations in the generated Python code (#868) We generate the Python SDK without ``# pylint:`` comments, as we lint it with ruff now, and with type annotations instead of type comments: self._segments: List[Segment] = [] instead of ``... push 25 Oct 2026 12:15AM UTC web-flow github
90.23
40144808090 mristin/Use-annotations-in-generated-Python Merge 96ae3a889 into 038f85bcf Pull #868 25 Oct 2026 12:03AM UTC web-flow github
90.23
40144103453 main Replace pylint with ruff (#867) We lint the code base with ruff instead of pylint, which takes under a second instead of almost two minutes. The precommit step ``pylint`` becomes ``ruff``, configured in ``dev/continuous_integration/ruff.toml``. W... push 24 Oct 2026 11:53PM UTC web-flow github
90.23
40142603996 mristin/Replace-pylint-with-ruff Merge e6d0484ba into 41e40d27c Pull #867 24 Oct 2026 11:32PM UTC web-flow github
90.23
40142184494 main Lint Python live tests with ruff (#866) We replace pylint with ruff in the Python live tests and fast checks, and lint the generated tests as well, not only the module. The default rule set of ruff clashes with the style of the generated code (*e... push 24 Oct 2026 11:30PM UTC web-flow github
90.21
40141383365 mristin/Lint-Python-live-tests-with-ruff Merge 24ae0a40b into 393501fd9 Pull #866 24 Oct 2026 11:16PM UTC web-flow github
90.21
40140041326 main Trace JSON values in tests of all targets (#865) We type-check the generated Python tests with mypy 2.4.0 as the SDKs do, and found that they pass a JSON-able value to ``tests.common.trace``, which accepts none. We now trace these values as their... push 24 Oct 2026 10:56PM UTC web-flow github
90.21
40138887979 mristin/Trace-JSON-values-in-tests-of-all-targets Merge 9c8302d8d into b5a851b59 Pull #865 24 Oct 2026 10:38PM UTC web-flow github
90.21
40136757312 main Make Python HasIterparse compatible with mypy 2.4 (#864) We bump mypy in the Python live tests from 0.982 to 2.4.0, the version the generated SDK for V3.2 use. Its type stubs declare ``iterparse`` of ``xml.etree.ElementTree`` as overloads over li... push 24 Oct 2026 10:10PM UTC web-flow github
90.2
40135737684 mristin/Make-Python-HasIterparse-compatible-with-mypy-2.4 Merge e44f53f96 into bc28d917a Pull #864 24 Oct 2026 09:59PM UTC web-flow github
90.2
See All Builds (389)

Badge your Repo: aas-core-codegen

We detected this repo isn’t badged! Grab the embed code to the right, add it to your repo to show off your code coverage, and when the badge is live hit the refresh button to remove this message.

Could not find badge in README.

Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

Refresh
  • Settings
  • Repo on GitHub
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc