init
command does not overwrite typeclasses already generated. Use the --overwrite-types
flag if it's not the desired behavior. Also, you can mark some files as immune from rewriting; see 8.2. Reusing typename for different contracts.hooks
/handlers
directories. Add one or multiple dots to callback name to define nested packages:init
command, you'll get the following directory tree (shortened for readability):callback
field must be a valid Python package name - lowercase letters, underscores, and dots.