Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

native types log the inferred type for every plugin #8575

Open
wouterdb opened this issue Jan 7, 2025 · 0 comments · May be fixed by #8655
Open

native types log the inferred type for every plugin #8575

wouterdb opened this issue Jan 7, 2025 · 0 comments · May be fixed by #8655
Assignees

Comments

@wouterdb
Copy link
Contributor

wouterdb commented Jan 7, 2025

At the debug log level, if a plugin has python types, log the inmanta type signature using type_string()

e.g.

@plugin
def test(x:str, y:list[str]) -> dict[str, int]:
  ....
Inmanta types inferred for plugin abc::test(x: "string" , y: "string[]") -> "dict[int]"
@Hugo-Inmanta Hugo-Inmanta self-assigned this Jan 16, 2025
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 a pull request may close this issue.

2 participants