mirror of
https://github.com/ail-project/ail-framework.git
synced 2025-09-05 22:52:39 +00:00
chg: [correlation] tags all objects
This commit is contained in:
parent
3b1fc0fd2a
commit
f45f9e5836
5 changed files with 131 additions and 45 deletions
|
@ -213,11 +213,11 @@ class AbstractObject(ABC):
|
|||
"""
|
||||
return get_correlations(self.type, self.subtype, self.id, filter_types=[obj_type])
|
||||
|
||||
def get_correlations(self):
|
||||
def get_correlations(self, filter_types=[]):
|
||||
"""
|
||||
Get object correlations
|
||||
"""
|
||||
return get_correlations(self.type, self.subtype, self.id)
|
||||
return get_correlations(self.type, self.subtype, self.id, filter_types=filter_types)
|
||||
|
||||
def get_nb_correlation(self, correl_type):
|
||||
return get_nb_correlation_by_correl_type(self.type, self.get_subtype(r_str=True), self.id, correl_type)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue