Skip to content

Commit

Permalink
Fix function name typo
Browse files Browse the repository at this point in the history
  • Loading branch information
SeanScripts authored and kmaphoenix committed Aug 19, 2023
1 parent b6644dc commit 6646ac4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/dfcx_scrapi/tools/agent_checker_util.py
Original file line number Diff line number Diff line change
Expand Up @@ -1122,7 +1122,7 @@ def add_intents_from_routes(self,
else:
routegroups.append("")

def get_page_intents(self,
def _get_page_intents(self,
flow_id: Optional[str] = None,
flow_name: Optional[str] = None,
page_id: Optional[str] = None,
Expand All @@ -1140,7 +1140,7 @@ def get_page_intents(self,
Returns:
List of intent names
"""
page = self.get_page(flow_id=flow_id, flow_name=flow_name,
page = self._get_page(flow_id=flow_id, flow_name=flow_name,
page_id=page_id, page_name=page_name)

page_routegroups = []
Expand Down Expand Up @@ -1186,7 +1186,7 @@ def find_reachable_intents(self,
flow_name=flow_name,
include_groups=include_groups)
for page_name in reachable_pages:
page_intents = set(self.get_page_intents(
page_intents = set(self._get_page_intents(
flow_name=flow_name,
page_name=page_name,
include_groups=include_groups
Expand Down

0 comments on commit 6646ac4

Please sign in to comment.