Story 2.3 - content generation script finished - fix ci
parent
e2afabb56f
commit
f73b0700ef
|
|
@ -16,8 +16,6 @@ from src.deployment.bunnynet import (
|
||||||
BunnyNetResourceConflictError
|
BunnyNetResourceConflictError
|
||||||
)
|
)
|
||||||
from src.ingestion.parser import CORAParser, CORAParseError
|
from src.ingestion.parser import CORAParser, CORAParseError
|
||||||
from src.generation.batch_processor import BatchProcessor
|
|
||||||
from src.generation.job_config import JobConfig
|
|
||||||
|
|
||||||
|
|
||||||
def authenticate_admin(username: str, password: str) -> Optional[User]:
|
def authenticate_admin(username: str, password: str) -> Optional[User]:
|
||||||
|
|
@ -885,6 +883,9 @@ def generate_batch(job_file: str, force_regenerate: bool, username: Optional[str
|
||||||
Example:
|
Example:
|
||||||
python main.py generate-batch --job-file jobs/tier1_batch.json -u admin -p pass
|
python main.py generate-batch --job-file jobs/tier1_batch.json -u admin -p pass
|
||||||
"""
|
"""
|
||||||
|
from src.generation.batch_processor import BatchProcessor
|
||||||
|
from src.generation.job_config import JobConfig
|
||||||
|
|
||||||
try:
|
try:
|
||||||
if not username or not password:
|
if not username or not password:
|
||||||
username, password = prompt_admin_credentials()
|
username, password = prompt_admin_credentials()
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue