Skip to content

Google sync#1401

Merged
rchen152 merged 6 commits into
mainfrom
google_sync
Mar 21, 2023
Merged

Google sync#1401
rchen152 merged 6 commits into
mainfrom
google_sync

Conversation

@rchen152

Copy link
Copy Markdown
Contributor

No description provided.

martindemello and others added 6 commits March 21, 2023 13:29
The initial version provides type checking for fiddle config classes wrapping
dataclasses; all other cases are treated as Any.

PiperOrigin-RevId: 517521440
…info file

for every failed module load.

This log is excessive, especially since we use the module loader to try imports
that might or might not be modules, walking our way up the path, so we get
stuff like

```
DEBUG:pytype.load_pytd Trying to import 'abc.ABCMeta'
WARNING:pytype.imports.module_loader Couldn't import module abc.ABCMeta 'abc.ABCMeta' in (path=[''])
imports_map: 903 items
[903 lines of import map entries]
```

If it turns out we really need this info we can log the path to the file instead.

PiperOrigin-RevId: 517540885
Makes sure all three of `fiddle.Config(Foo)`, `fiddle.Config[Foo]` in a type
annotation, and `fiddle.Config[Foo]` imported from a pyi file return the same
`fiddle_overlay.Config` instance every time they are encountered.

PiperOrigin-RevId: 518028362
Working towards better display of queries. Next step: text explaining each step.

PiperOrigin-RevId: 518119835
@rchen152 rchen152 merged commit 181cbde into main Mar 21, 2023
@rchen152 rchen152 deleted the google_sync branch March 21, 2023 21:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants