mirror of
https://github.com/correl/openapi-core.git
synced 2025-01-01 11:03:19 +00:00
Python 2.7: Copy list using slice
This commit is contained in:
parent
88efa69cfd
commit
b8c03d90f4
1 changed files with 1 additions and 1 deletions
|
@ -81,7 +81,7 @@ class Schema(object):
|
||||||
)
|
)
|
||||||
|
|
||||||
def get_all_required_properties_names(self):
|
def get_all_required_properties_names(self):
|
||||||
required = self.required.copy()
|
required = self.required[:]
|
||||||
|
|
||||||
for subschema in self.all_of:
|
for subschema in self.all_of:
|
||||||
subschema_req = subschema.get_all_required_properties()
|
subschema_req = subschema.get_all_required_properties()
|
||||||
|
|
Loading…
Reference in a new issue