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

IndexLineConfig的from_json方法的chn字段无效 #161

Open
HiJasper opened this issue May 9, 2020 · 0 comments
Open

IndexLineConfig的from_json方法的chn字段无效 #161

HiJasper opened this issue May 9, 2020 · 0 comments

Comments

@HiJasper
Copy link

HiJasper commented May 9, 2020

SDK版本:0.6.48.3

class IndexLineConfig(object):
    .......
    def from_json(self, json_value):
        self.token_list = json_value["token"]
        self.case_sensitive = bool(json_value.get("caseSensitive", False))
        self.chn = bool(json_value["caseSensitive"]) if "caseSensitive" in json_value else None

IndexLineConfig的from_json方法的chn字段为什么和caseSensitive字段挂钩?这样的话没办法设置line对应的包含中文选项了

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