Skip to content
Merged
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
4 changes: 2 additions & 2 deletions dev/scripts/seed.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
DEVELOPMENT_COMPUTE = "development compute"
DEVELOPMENT_ORGANIZATION = "ACME Ink"
INVITED_ORGANIZATION = "ACME Studio"
SAMPLE_SOLUTION = "Invoices"
SAMPLE_SOLUTION = "sample"


class SeedSettings(BaseSettings):
Expand Down Expand Up @@ -119,7 +119,7 @@ async def create_sample(client: httpx2.AsyncClient, settings: SeedSettings, orga
previous_ids = {solution.id for solution in solutions}
matches = [solution for solution in solutions if solution.name == SAMPLE_SOLUTION]
if len(matches) > 1:
raise RuntimeError("Multiple development Solutions match Invoices; select one before seeding")
raise RuntimeError(f"Multiple development Solutions match {SAMPLE_SOLUTION}; select one before seeding")
solution = next(iter(matches), None)
if solution is not None:
# Request normal lifecycle cleanup so the old schema, credentials, and attachments are removed together.
Expand Down