OMGeeky
|
f07db4c88e
|
improve warn outputs
|
2024-05-31 15:38:39 +02:00 |
|
OMGeeky
|
04e188ff58
|
fix pycharm hints
|
2024-05-31 15:10:42 +02:00 |
|
OMGeeky
|
d80498a8b6
|
make enums their own class in python to better handle variants where name overlaps might happen
|
2024-05-31 15:09:06 +02:00 |
|
OMGeeky
|
0946a3b41d
|
specify full type path for std lib usages
|
2024-05-31 12:38:21 +02:00 |
|
OMGeeky
|
dc9110052b
|
fix some more errors in the cli
if we get enum parameters that are required, but either missing without default or invalid, it panics currently. Maybe that can be improved if needed.
|
2024-05-19 14:14:11 +02:00 |
|
OMGeeky
|
af71b9ee49
|
temporary disable links surrounding for cargo doc
it was causing some issues and I want to focus on other things first.
|
2024-05-18 19:15:35 +02:00 |
|
OMGeeky
|
a6d4fdd027
|
fix enum being generated multiple times in some cases
|
2024-05-18 18:32:18 +02:00 |
|
OMGeeky
|
92ad312680
|
improve some names
|
2024-05-18 17:45:00 +02:00 |
|
OMGeeky
|
ad07a13110
|
make cargo doc a bit happier about links
|
2024-05-18 17:43:16 +02:00 |
|
OMGeeky
|
56643c8bde
|
improve enum docs
|
2024-05-18 17:42:26 +02:00 |
|
OMGeeky
|
ef00af9d13
|
fix one problem in the CLIs that try to use enums
|
2024-05-18 14:45:59 +02:00 |
|
OMGeeky
|
c04fa3f800
|
fix error where default for enum was not properly detected
|
2024-05-18 00:48:47 +02:00 |
|
OMGeeky
|
cb7d92a714
|
put module api in api.rs like before instead of api/mod.rs
This is needed since some builds do not remove old files and then cargo doesn't know which one to use. (for example GitHub-Actions)
|
2024-05-18 00:22:20 +02:00 |
|
OMGeeky
|
88d8495bbe
|
remove ambiguity in TryFrom implementation
|
2024-05-18 00:09:50 +02:00 |
|
OMGeeky
|
12d2398678
|
remove writing file from test that was probably only a temporary debug aid
|
2024-05-17 23:54:42 +02:00 |
|
OMGeeky
|
cb9d6ade4f
|
Use DictObject in tests
(copied version from `mako-render`)
|
2024-05-17 23:50:04 +02:00 |
|
OMGeeky
|
006ce5781e
|
Revert "Reapply "fix dict access errors while running test""
This reverts commit b9b8cec7d0.
|
2024-05-17 23:47:55 +02:00 |
|
OMGeeky
|
3455436f0c
|
fix enum type not being wrapped as Vec if repeated
|
2024-05-17 23:41:00 +02:00 |
|
OMGeeky
|
51728ff5d7
|
correctly handle multiline descriptions for enums
|
2024-05-16 23:59:32 +02:00 |
|
OMGeeky
|
488c81a0af
|
fix usage
|
2024-05-16 23:59:31 +02:00 |
|
OMGeeky
|
b9b8cec7d0
|
Reapply "fix dict access errors while running test"
This reverts commit 2d9be85963.
|
2024-05-16 23:30:36 +02:00 |
|
OMGeeky
|
04845a8f46
|
fix build error: TypeError: 'DictObject' object is not callable
|
2024-05-16 23:21:53 +02:00 |
|
OMGeeky
|
2d9be85963
|
Revert "fix dict access errors while running test"
This reverts commit c4c38e927f.
|
2024-05-16 22:55:34 +02:00 |
|
OMGeeky
|
c4c38e927f
|
fix dict access errors while running test
Signed-off-by: OMGeeky <aalaalgmx@gmail.com>
|
2024-05-16 21:47:06 +02:00 |
|
OMGeeky
|
3b667bb89b
|
cleanup some old stuff
Signed-off-by: OMGeeky <aalaalgmx@gmail.com>
|
2024-05-16 21:46:02 +02:00 |
|
OMGeeky
|
f528cb9c2c
|
remove leftover print
Signed-off-by: OMGeeky <aalaalgmx@gmail.com>
|
2024-05-16 21:28:08 +02:00 |
|
OMGeeky
|
52d2e89e51
|
reposition doc usage to better fit other usages
|
2024-05-16 19:40:57 +02:00 |
|
OMGeeky
|
0f1e01363c
|
add regions around enums for better overview
|
2024-05-16 19:29:32 +02:00 |
|
OMGeeky
|
e7cce53a51
|
add use for all enums to make the docs build
I got no Idea if there is a better way to do this without importing all the enums but since it is only the docs I think it's fine.
|
2024-05-16 19:27:34 +02:00 |
|
OMGeeky
|
3e27f63739
|
generate random values in documentation correctly
|
2024-05-16 19:20:28 +02:00 |
|
OMGeeky
|
5dd05e4ee4
|
fix enums not finding nested variants etc
|
2024-05-15 00:55:15 +02:00 |
|
OMGeeky
|
b6c063a854
|
fix some enums getting wrong names
(some were way too long)
|
2024-05-15 00:24:23 +02:00 |
|
OMGeeky
|
3092fef613
|
add comment
|
2024-05-13 19:24:28 +02:00 |
|
OMGeeky
|
d9a7fcc946
|
fix conflicting implementation error for TryFrom
(basically don't use generic, since blanket implementations make it impossible to not have conflicts)
|
2024-05-13 18:46:24 +02:00 |
|
OMGeeky
|
97198260a0
|
add impl to try to convert strings into the enum
|
2024-05-13 18:30:08 +02:00 |
|
OMGeeky
|
e8e1722294
|
fix wrong value for enums
|
2024-05-13 18:29:36 +02:00 |
|
OMGeeky
|
41049ede1a
|
implement workaround for status singular mistake
|
2024-05-13 18:29:02 +02:00 |
|
OMGeeky
|
d39652dc0b
|
add test for wrong name
(this test currently fails and should be fixed at some point)
|
2024-05-13 00:05:35 +02:00 |
|
OMGeeky
|
5bfd23d73e
|
fix some errors where some stuff does not exist
all apis libs build now
|
2024-05-12 23:56:24 +02:00 |
|
OMGeeky
|
5a40cf1683
|
fix some items not having parameters crashing the script
|
2024-05-12 22:11:10 +02:00 |
|
OMGeeky
|
e5a85b3727
|
fix enum result parsing
|
2024-05-12 22:11:10 +02:00 |
|
OMGeeky
|
c034d75efa
|
change enums visibility
|
2024-05-12 22:11:10 +02:00 |
|
OMGeeky
|
8fc78fe0ae
|
a building version of the enums-change (cli is broken).
(at least youtube3 builds, the others get generated successfully)
|
2024-05-12 22:10:59 +02:00 |
|
OMGeeky
|
cf0248f0f3
|
move scope_enum to own mako file
|
2024-05-12 22:10:55 +02:00 |
|
OMGeeky
|
95e10c9700
|
cleanup python usages
|
2024-05-12 22:09:24 +02:00 |
|
OMGeeky
|
3c93d7fc44
|
restructure templates to use modules, so it's not just one big file
|
2024-05-12 22:09:24 +02:00 |
|
OMGeeky
|
90ac61067f
|
make regen-apis
|
2024-05-12 22:09:19 +02:00 |
|
Ivan Ukhov
|
52459ab1fa
|
Update the license
|
2024-04-24 10:11:33 +02:00 |
|
Ivan Ukhov
|
c80e2789f3
|
Add support for Spanner
|
2024-04-21 16:41:21 +02:00 |
|
Ivan Ukhov
|
1ee7a03816
|
Unwrap after with_native_roots
|
2024-03-21 16:03:37 +01:00 |
|