Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions tb_rest_client/rest_client_base.py
Original file line number Diff line number Diff line change
Expand Up @@ -1765,6 +1765,9 @@ def list_slack_conversations(self, type: str, token: Optional[str] = None) -> Li
def save_notification_template(self, body: NotificationTemplate) -> NotificationTemplate:
return self.notification_template_controller.save_notification_template_using_post(body=body)

def count_entities_by_query(self, body: Optional[EntityCountQuery] = None) -> int:
return self.entity_query_controller.count_entities_by_query_using_post(body=body)

def __load_controllers(self):
self.audit_log_controller = AuditLogControllerApi(self.api_client)
self.o_auth2_config_template_controller = OAuth2ConfigTemplateControllerApi(self.api_client)
Expand Down
3 changes: 0 additions & 3 deletions tb_rest_client/rest_client_ce.py
Original file line number Diff line number Diff line change
Expand Up @@ -1126,9 +1126,6 @@ def unassign_dashboard_from_customer(self, customer_id: CustomerId, dashboard_id
dashboard_id=dashboard_id)

# Entity Query Controller
def count_entities_by_query(self, body: Optional[EntityCountQuery] = None) -> int:
return self.entity_query_controller.count_entities_by_query_using_post(body=body)

def find_entity_timeseries_and_attributes_keys_by_query(self, timeseries: bool, attributes: bool, body: Optional[
EntityDataQuery]) -> DeferredResultResponseEntity:
return self.entity_query_controller.find_entity_timeseries_and_attributes_keys_by_query_using_post(
Expand Down