introduce an is_scope function to make it easier to work with scopes
This commit is contained in:
1 parent
3ee3a04bcb
commit
ddca14980e
4 files changed
+12
-4
No files matched your search
@@ -169,6 +169,9 @@ class CompiledObject(Base):
|
||||
faked_subscopes.append(f)
|
||||
return faked_subscopes
|
||||
|
||||
def is_scope(self):
|
||||
return True
|
||||
|
||||
def get_self_attributes(self):
|
||||
return [] # Instance compatibility
|
||||
|
||||
|
||||
Reference in new issue
Block a user