Asthestarsfalll / ExCore

A Modern Configuration/Registry System designed for deeplearning, with some utils.
https://excore.onism.space/
MIT License
13 stars 0 forks source link

:sparkles: Support type-hints for modules #32

Closed Asthestarsfalll closed 6 months ago

Asthestarsfalll commented 7 months ago

This PR implements type hinting for built modules, usage:

excore generate-typehints types TypedModule
from excore import config
from types import TypedModule
cfg = config.load("xxx.toml")
modules, run_info = config.build_all(cfg)
modules: TypedModule
model = modules.Model
....
vercel[bot] commented 7 months ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
ex-core ✅ Ready (Inspect) Visit Preview 💬 Add feedback Feb 29, 2024 6:26am