Resources are not private
Change-Id: I28c799ce8c3841d34ce6940d043a234991e950ea
This commit is contained in:
parent
b3c7e2c67d
commit
750ffb0501
|
@ -418,6 +418,8 @@ def _experiment_get_all_with_filters(context, project_id=None, filters=None,
|
|||
_experiment_get_query(context).join()
|
||||
)
|
||||
|
||||
query = query.filter(models.Experiment.project_id == project_id)
|
||||
|
||||
# Apply filters
|
||||
if not filters:
|
||||
filters = {}
|
||||
|
@ -525,6 +527,8 @@ def _template_get_all_with_filters(context, project_id=None, filters=None,
|
|||
_template_get_query(context).join()
|
||||
)
|
||||
|
||||
query = query.filter(models.Template.project_id == project_id)
|
||||
|
||||
# Apply filters
|
||||
if not filters:
|
||||
filters = {}
|
||||
|
@ -632,6 +636,8 @@ def _dataset_get_all_with_filters(context, project_id=None, filters=None,
|
|||
_dataset_get_query(context).join()
|
||||
)
|
||||
|
||||
query = query.filter(models.Dataset.project_id == project_id)
|
||||
|
||||
# Apply filters
|
||||
if not filters:
|
||||
filters = {}
|
||||
|
@ -738,6 +744,8 @@ def _model_get_all_with_filters(context, project_id=None, filters=None,
|
|||
_model_get_query(context).join()
|
||||
)
|
||||
|
||||
query = query.filter(models.Model.project_id == project_id)
|
||||
|
||||
# Apply filters
|
||||
if not filters:
|
||||
filters = {}
|
||||
|
@ -850,6 +858,8 @@ def _model_evaluation_get_all_with_filters(context, project_id=None,
|
|||
_model_evaluation_get_query(context).join()
|
||||
)
|
||||
|
||||
query = query.filter(models.Model_Evaluation.project_id == project_id)
|
||||
|
||||
# Apply filters
|
||||
if not filters:
|
||||
filters = {}
|
||||
|
@ -959,6 +969,8 @@ def _learning_get_all_with_filters(context, project_id=None, filters=None,
|
|||
_learning_get_query(context).join()
|
||||
)
|
||||
|
||||
query = query.filter(models.Learning.project_id == project_id)
|
||||
|
||||
# Apply filters
|
||||
if not filters:
|
||||
filters = {}
|
||||
|
|
Loading…
Reference in New Issue