Skip to content

Commit

Permalink
New get plain name method with no safe characters
Browse files Browse the repository at this point in the history
  • Loading branch information
joamag committed Dec 16, 2019
1 parent e6cc34b commit 08bf8e9
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions data/src/entity_manager/structures.py
Expand Up @@ -600,6 +600,10 @@ def get_name(cls, safe_character = SAFE_CHARACTER):

safe_character = safe_character or ""
return safe_character + colony.to_underscore(cls.__name__)

@classmethod
def get_plain_name(cls):
return cls.get_name(safe_character = None)

@classmethod
def get_attr_methods(cls):
Expand Down

0 comments on commit 08bf8e9

Please sign in to comment.