4b4e28273e164c0c62ca42cf0d92625d09914939,polyaxon_schemas/ops/environments/container_resources.py,ContainerResourcesSchema,ContainerResourcesSchema_1,#,10

Before Change




class ContainerResourcesSchema(BaseSchema):
    limits = fields.Dict(allow_none=True)
    requests = fields.Dict(allow_none=True)

    @staticmethod
    def schema_config():

After Change




class ContainerResourcesSchema(BaseSchema):
    limits = RefOrObject(fields.Dict(allow_none=True))
    requests = RefOrObject(fields.Dict(allow_none=True))

    @staticmethod
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 4

Instances


Project Name: polyaxon/polyaxon
Commit Name: 4b4e28273e164c0c62ca42cf0d92625d09914939
Time: 2019-09-24
Author: contact@polyaxon.com
File Name: polyaxon_schemas/ops/environments/container_resources.py
Class Name: ContainerResourcesSchema
Method Name: ContainerResourcesSchema_1


Project Name: polyaxon/polyaxon
Commit Name: e541871de9ff87fe8e163bec182800795b7e831d
Time: 2019-04-02
Author: mouradmourafiq@gmail.com
File Name: polyaxon_deploy/schemas/ingress.py
Class Name: IngressSchema
Method Name: IngressSchema_1


Project Name: google-research/google-research
Commit Name: e66f7f7c528ce128a4a497e257f91a5a7609a0ed
Time: 2021-02-12
Author: ldennis@google.com
File Name: social_rl/gym_multigrid/multigrid.py
Class Name: MultiGridEnv
Method Name: __init__