Commit Graph

66 Commits

Author SHA1 Message Date
philippeitis
2b5f119242 Change dependency in api.rs 2022-10-01 01:36:23 +00:00
philippeitis
27891b8a10 Use tokio::time::sleep over std:🧵:sleep in api.rs as well 2022-10-01 01:34:56 +00:00
shinichi kogai
cd863136e0 attempt to avoid conflict of common resource name 2022-09-29 12:39:51 +09:00
philippeitis
9142859612 Move client.rs to common dependency 2022-09-27 21:48:31 -07:00
Sebastian Thiel
8d7309b78c rename google-api-client to google-apis-common 2022-09-25 19:43:56 +08:00
philippeitis
3fc9a077d2 Remove yup-oauth2 from API crates 2022-09-24 21:04:58 -07:00
philippeitis
e6be1edb45 Split out common api client code into separate crate 2022-09-24 20:36:01 -07:00
philippeitis
b3397902c0 Update mkdocs.yml.mako 2022-09-25 01:19:56 +00:00
philippeitis
49ff295ab9 Use key-values for nav 2022-09-25 00:52:58 +00:00
Sebastian Thiel
fedf48445f See if this fixes CI by naively swapping 'pages' with 'nav'. 2022-09-25 08:32:27 +08:00
philippeitis
7c045d7a25 Add yup-oauth2 error to auth error handling 2022-09-24 12:16:58 -07:00
philippeitis
cac4666204 Remove breaking changes, add TODOs 2022-09-24 11:55:55 -07:00
philippeitis
7078038857 Use generic Authy trait in place of yup_oauth2 2022-09-23 00:21:27 -07:00
Kyle Gentle
a60caa2690 generator lib: Initial tests
Move existing tests into a new __tests__ module under generator/lib.
Also define a new test for `util.new_context`, to prevent regressions as
changes are made.
2022-08-18 21:23:55 -04:00
Kyle Gentle
8ba6acb88b util.py: Make new_context dict-compatible
This is an incremental change towards a strongly-typed util module,
aimed at reducing dependency on the DictObject class. The rough idea is
to annotate everything as Dict, add some tests to codify the existing
behavior, and then start defining dataclasses for the dischovery schema.

We also remove some unused logic & params.
2022-08-18 21:23:55 -04:00
Kyle Gentle
08552c4364 Restructure src dir
Make a few changes in the toplevel src dir to help separate
templates from code. Specifically, we rename `src/mako` to
`src/generator`, and nest the mako templates inside a
`src/generator/templates` dir.

This isolates most Python code into the `src/generator/lib` dir.
2022-08-18 21:23:55 -04:00