Skip to content

Issue with setting value for parameter extraction cache capacity #105

@ash9swaika

Description

@ash9swaika

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions