generated from coulomb/repo-seed
Repo stats and features as aggregates
This commit is contained in:
@@ -245,6 +245,7 @@ def create_analysis_run(
|
||||
summary = service.analyze_repository(
|
||||
repository_id,
|
||||
source_path=payload.source_path,
|
||||
use_cached_checkout=payload.use_cached_checkout,
|
||||
access_username=payload.access_username,
|
||||
access_password=payload.access_password,
|
||||
)
|
||||
|
||||
@@ -202,6 +202,7 @@ class EvidenceUpdate(BaseModel):
|
||||
|
||||
class AnalysisRunCreate(BaseModel):
|
||||
source_path: str | None = None
|
||||
use_cached_checkout: bool = False
|
||||
access_username: str | None = None
|
||||
access_password: str | None = Field(default=None, repr=False)
|
||||
|
||||
@@ -210,6 +211,7 @@ class AnalysisRunCreate(BaseModel):
|
||||
"examples": [
|
||||
{},
|
||||
{"source_path": "/path/to/local/repository"},
|
||||
{"use_cached_checkout": True},
|
||||
{
|
||||
"access_username": "git-user",
|
||||
"access_password": "access-token",
|
||||
|
||||
Reference in New Issue
Block a user