50420c0a71094e0eae9cc6db6e73d261a09aff71,core/polyaxon/polyflow/params/params.py,ParamSpec,__repr__,#ParamSpec#,460

Before Change


        return self.param.value

    def __repr__(self):
        return str(self.get_display_value())

    def as_str(self):
        return str(self)

After Change


    def __repr__(self):
        if self.is_flag:
            return self.get_display_value()
        return ujson.dumps(self.param.value) if self.param.value else ""

    def as_str(self):
        return str(self)
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 5

Non-data size: 3

Instances


Project Name: polyaxon/polyaxon
Commit Name: 50420c0a71094e0eae9cc6db6e73d261a09aff71
Time: 2020-10-23
Author: contact@polyaxon.com
File Name: core/polyaxon/polyflow/params/params.py
Class Name: ParamSpec
Method Name: __repr__


Project Name: victoresque/pytorch-template
Commit Name: 28c33b1dbe999874008f13fe83ffd893f4d7fac2
Time: 2018-04-15
Author: vichuang1997@gmail.com
File Name: logger/logger.py
Class Name: Logger
Method Name: __str__


Project Name: zake7749/PTT-Chat-Generator
Commit Name: 75c1231f77fc1ebc5af31d5c598f1353ea9aa5df
Time: 2016-10-20
Author: zake7749@gmail.com
File Name: filter.py
Class Name: ArticleFilter
Method Name: generate_corpus


Project Name: facebookresearch/ParlAI
Commit Name: 72c304fa7cac16ed19d8bc75a017f17c8073dd2f
Time: 2020-02-13
Author: roller@fb.com
File Name: parlai/utils/misc.py
Class Name: TimeLogger
Method Name: log


Project Name: facebook/FAI-PEP
Commit Name: 6fb6b56a6f115414c5ba1166843a7f53b7d9575a
Time: 2019-04-02
Author: zhizhenqin@fb.com
File Name: benchmarking/remote/django_url_printer.py
Class Name: DjangoURLPrinter
Method Name: getDjangoParams