Commit graph

24 commits

Author SHA1 Message Date
749703e077
partially functioning rolldown, but getting some wonky results - missing attributes in nested inheritance, and the models are now extremely noisy, creating the same fields over and over even when they aren't overridden or modified by the child class. Need to redo the rolldown, make it less generic, don't dump to dicts, merge in a more targeted way. 2024-09-13 02:42:01 -07:00
880352d9a4
v0.2.0 of nwb_schema_language - parentization 2024-09-12 22:40:14 -07:00
0452a4359f
add logging. less janky adapter instantiation using model validators. correctly propagate properties from ancestor classes when building 2024-08-12 18:48:59 -07:00
b6af8c9718
lint 2024-07-09 03:32:37 -07:00
34c8be3a2c
functional docs build 2024-07-08 21:37:02 -07:00
f50275473c
All ruff and black fixes done 2024-07-01 23:52:32 -07:00
7c6e69c87e
ruff unsafe fixes 2024-07-01 23:05:47 -07:00
084bceaa2e
continuing manual ruff fixes 2024-07-01 22:58:55 -07:00
3768e3ce0d
enable black preview and automatic linebreaks in long strings 2024-07-01 22:12:16 -07:00
07aa879bb9
ruff automatic fixes 2024-07-01 21:44:35 -07:00
79fc7f23ad
black formatting 2024-07-01 21:23:31 -07:00
9eb4f0dec6
conversion from poetry to pdm 2024-07-01 16:19:13 -07:00
Yaroslav Halchenko
63a405f4aa [DATALAD RUNCMD] run codespell throughout fixing typo automagically but ignoring the failure due to ambigous typos
=== Do not change lines below ===
{
 "chain": [],
 "cmd": "codespell -w || :",
 "exit": 0,
 "extra_inputs": [],
 "inputs": [],
 "outputs": [],
 "pwd": "."
}
^^^ Do not change lines above ^^^
2024-04-17 15:59:53 -04:00
615b006e4a updating nwb_schema_language to have proper single/multi fields for author/contact 2023-10-10 01:08:25 -07:00
0de6535c5a Schema language v0.1.2 - trivial rebuild to change date to datetime type and update linkml deps 2023-10-09 15:10:29 -07:00
39c600fda1 Regenerate nwb_schema_language models 2023-10-09 15:06:53 -07:00
3cb5e74ab8 upload to pypi 2023-09-05 22:10:10 -07:00
78d2ec59d7 - Able to complete build all the way through to importing generated classes 2023-09-04 21:46:17 -07:00
4ee77dbb2e update to pydantic 2 2023-08-31 15:36:58 -07:00
3568037a1e Need to go home, in the middle of refactoring group and dataset as well as implementing the name property correctly 2023-08-31 00:01:43 -07:00
fd9aef9531 Cleaner code generation, npytyping type hints for arrays
- split off generated subclasses into "include" files, not sure if that's good, but in any case we have them separable now.
- more work on cleanly un-nesting scalar and 1D-vector data into attributes and lists, respectively
- brought the pydantic generator in-repo to do a bunch of overrides
2023-08-30 20:56:30 -07:00
4faaa8efe8 I believe that's a full translation
or at least all the semantics are present. it's not pretty by any stretch of the imagination
2023-08-25 00:22:47 -07:00
a4806543ef recursion works, more formal build method in adapters 2023-08-23 19:56:09 -07:00
3996f319e2 some vague sketching on mapping namespaces 2023-08-20 23:00:58 -07:00