Closed Christopher-Chianelli closed 6 months ago
Example from Django: https://docs.djangoproject.com/en/5.0/topics/db/models/#quick-example ; it important to note: here PlanningVariable acts as a type (hence PascalCase), where before it acts as a function (hence snake_case).
Example from Pydantic: https://docs.pydantic.dev/latest/api/standard_library_types/#decimaldecimal
Example from FastAPI: https://fastapi.tiangolo.com/tutorial/dependencies/?h=annotated#first-steps
Part 1 of #14. This gives jpyinterpreter the ability to directly add Java annotations to the generated fields/methods/classes with the use of
Annotated
(see https://docs.python.org/3/library/typing.html#typing.Annotated).Part 2 of #14 would be a complete do-over of timefold-solver-python-core that removes the majority of its java class generation code (most of which is just adding annotations) and change its API to use Annotations:
becomes
or