Commit Graph

4127 Commits

Author SHA1 Message Date
OMGeeky
70b1d1e94f Revert part of "fix pycharm hints" that broke something 2024-05-31 15:42:39 +02:00
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
01aa60909c fix wrong blacklist from earlier (bigtableadmin) 2024-05-18 18:51:15 +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
f1a5835563 add bigtableadmin2 to blacklist because of recursive type 2024-05-18 13:50:29 +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
d1d2e9937c remove changes to gen 2024-05-13 19:25:02 +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
988ebe882e remove generated libs 2024-05-12 22:15:06 +02:00
OMGeeky
85133fa452 fix warnings 2024-05-12 22:12:51 +02:00
OMGeeky
4167ddd659 add generated enums.rs to drive3 2024-05-12 22:11:10 +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
7b6aa6a207 make youtube3 2024-05-12 22:11:10 +02:00
OMGeeky
c034d75efa change enums visibility 2024-05-12 22:11:10 +02:00