Skip to content

Commit

Permalink
renamed function parameter to be more readable
Browse files Browse the repository at this point in the history
  • Loading branch information
yaelibarg committed Jan 16, 2025
1 parent 560fa0a commit 1cdd3e6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions port_ocean/clients/port/mixins/entities.py
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ async def search_entities(
self,
user_agent_type: UserAgentType,
query: dict[Any, Any] | None = None,
include_params: list[str] | None = None,
parameters_to_include: list[str] | None = None,
) -> list[Entity]:
default_query = {
"combinator": "and",
Expand Down Expand Up @@ -247,7 +247,7 @@ async def search_entities(
headers=await self.auth.headers(user_agent_type),
params={
"exclude_calculated_properties": "true",
"include": include_params or ["blueprint", "identifier"],
"include": parameters_to_include or ["blueprint", "identifier"],
},
extensions={"retryable": True},
)
Expand Down
2 changes: 1 addition & 1 deletion port_ocean/core/integrations/mixins/sync_raw.py
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ async def _map_entities_compared_with_port(
query = self._create_entities_identifier_query(entities)
entities_at_port_with_properties = await ocean.port_client.search_entities(
user_agent_type,
include_params=["blueprint", "identifier"] + [
parameters_to_include=["blueprint", "identifier"] + [
f"properties.{prop}" for prop in resource.port.entity.mappings.properties
] + [
f"relations.{relation}" for relation in resource.port.entity.mappings.relations
Expand Down

0 comments on commit 1cdd3e6

Please sign in to comment.