Cleaner code.
This commit is contained in:
parent
585ef7b768
commit
f19fdc9802
1 changed files with 0 additions and 2 deletions
|
|
@ -149,8 +149,6 @@ def resource_class_from_type(resource_type):
|
|||
|
||||
|
||||
def resource_name_property_from_type(resource_type):
|
||||
if resource_type not in NAME_TYPE_MAP:
|
||||
return None
|
||||
return NAME_TYPE_MAP.get(resource_type)
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue