(
self,
st: str,
project_id: str,
)
| 2626 | ) |
| 2627 | |
| 2628 | async def create_flow_entity( |
| 2629 | self, |
| 2630 | st: str, |
| 2631 | project_id: str, |
| 2632 | ) -> str: |
| 2633 | payload = {"json": {"projectId": project_id}} |
| 2634 | result = await self._labs_trpc_post_with_st( |
| 2635 | "flow.createEntity", |
| 2636 | payload=payload, |
| 2637 | st=st, |
| 2638 | project_id=project_id, |
| 2639 | ) |
| 2640 | entity_id = self._extract_flow_entity_id(result) |
| 2641 | if not entity_id: |
| 2642 | raise RuntimeError(f"flow.createEntity 响应缺少 entityId: keys={list(result.keys())}") |
| 2643 | return entity_id |
| 2644 | |
| 2645 | async def copy_project_media_to_character_slot( |
| 2646 | self, |
no test coverage detected