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

Issue with setting value for parameter extraction cache capacity #105

Open
ash9swaika opened this issue Mar 4, 2025 · 0 comments
Open

Comments

@ash9swaika
Copy link

ash9swaika commented Mar 4, 2025

The TemplateMinerConfig throws a TypeError if the value set for parameter extraction cache capacity is an int, saying that the expected value must be of type str.

But if it is set to be a string it throws the following error:
"TypeError: '>' not supported between instances of 'int' and 'str'

The default value of parameter extraction cache capacity is set to be 3000 in TemplateMinerConfig, so it is indeed supposed to be an integer.

I have tried switching the .get method to .getint method when retrieving the config values through config parser. but that didn't work - still gives this error "TypeError: '>' not supported between instances of 'int' and 'str'.

Any help on how to change this config value would be very appreciated.

Thanks!

Edit: It seems like this issue is fixed in the latest version of the code but a new version has not been released with the change. Is it possible to do that anytime soon?

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

No branches or pull requests

1 participant