SatelCreative / spylib

A library to facilitate interfacing with Shopify's API
https://satelcreative.github.io/spylib
MIT License
3 stars 2 forks source link

Lazydocs failures on doc generation for some modules #187

Open lishanl opened 1 year ago

lishanl commented 1 year ago

There are import errors, config errors for some modules and failing the docs generation for those.
image

Originally posted by @lishanl in https://github.com/SatelCreative/spylib/issues/186#issuecomment-1579240784

Failed to generate docs for module oauth.callback: ValueError('attempted relative import beyond top-level package')
Failed to generate docs for module oauth.fastapi: FastAPIImportError('The oauth router is a fastapi router and fastapi is not installed. Run `pip install spylib[fastapi]` to be able to use the oauth router.')
Failed to generate docs for module oauth.redirects: ValueError('attempted relative import beyond top-level package')
Failed to generate docs for module oauth.tokens: ValueError('attempted relative import beyond top-level package')
Failed to generate docs for module oauth.validations: ValueError('attempted relative import beyond top-level package')
Failed to generate docs for module session_token: ImportError('attempted relative import with no known parent package')
Failed to generate docs for module utils.jwtoken: ConfigError('duplicate validator function "utils.jwtoken.JWTBaseModel.set_id"; if this is intended, set `allow_reuse=True`')