36fa42be1bad5ffade1b48b93ac4ba249f2e121a,polyaxon_schemas/settings.py,EnvironmentSchema,EnvironmentSchema_1,#,145
Before Change
class EnvironmentSchema(Schema):
type = fields.Str(allow_none=True, validate=validate.OneOf(["local", "kubernetes"]))
distributed = fields.Bool(allow_none=True)
n_workers = fields.Int(allow_none=True)
n_ps = fields.Int(allow_none=True)
delay_workers_by_global_step = fields.Bool(allow_none=True)
After Change
run_config = fields.Nested(RunSchema, allow_none=True)
default_worker_config = fields.Nested(SessionSchema, allow_none=True)
default_ps_config = fields.Nested(SessionSchema, allow_none=True)
worker_configs = fields.Nested(IndexedSessionSchema, many=True, allow_none=True)
ps_configs = fields.Nested(IndexedSessionSchema, many=True, allow_none=True)
class Meta:
ordered = True
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 6
Instances
Project Name: polyaxon/polyaxon
Commit Name: 36fa42be1bad5ffade1b48b93ac4ba249f2e121a
Time: 2017-09-26
Author: mouradmourafiq@gmail.com
File Name: polyaxon_schemas/settings.py
Class Name: EnvironmentSchema
Method Name: EnvironmentSchema_1
Project Name: polyaxon/polyaxon
Commit Name: b2b6fca667e21204dc10c74e2b02d8c3b85d025d
Time: 2018-04-06
Author: mouradmourafiq@gmail.com
File Name: polyaxon_schemas/settings.py
Class Name: SettingsSchema
Method Name: SettingsSchema_1
Project Name: polyaxon/polyaxon
Commit Name: 592058d67cfdb69cbe80553037001f394585ecec
Time: 2019-05-16
Author: mouradmourafiq@gmail.com
File Name: polyaxon_schemas/ops/operation.py
Class Name: BaseOpSchema
Method Name: BaseOpSchema_1