-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(api): Add documentation to some endpoints #855
Conversation
460c356
to
66b4b03
Compare
66b4b03
to
e50b1a1
Compare
41f4565
to
05bc22a
Compare
type Origin = str | ||
type Timestamp = str | ||
|
||
type Checkout__Id = str | ||
type Checkout__TreeName = Optional[str] | ||
type Checkout__GitCommitHash = Optional[str] | ||
type Checkout__GitCommitName = Optional[str] | ||
type Checkout__GitCommitTags = Optional[List[str]] | ||
|
||
type Build__Id = str | ||
type Build__Architecture = Optional[str] | ||
type Build__ConfigName = Optional[str] | ||
type Build__Valid = Optional[bool] | ||
type Build__StartTime = Optional[datetime] | ||
type Build__Duration = Optional[float] | ||
type Build__Compiler = Optional[str] | ||
type Build__Command = Optional[str] | ||
type Build__Comment = Optional[str] | ||
type Build__LogExcerpt = Optional[str] | ||
type Build__LogUrl = Optional[str] | ||
type Build__InputFiles = Optional[List[Dict[str, Any]]] | ||
type Build__OutputFiles = Optional[List[Dict[str, Any]]] | ||
|
||
type Test__Id = str | ||
type Test__Status = Optional[str] | ||
type Test__Duration = Optional[float] | ||
type Test__Path = Optional[str] | ||
type Test__StartTime = Optional[datetime] | ||
type Test__EnvironmentCompatible = Optional[List[str]] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
it actually looks decent, I think you can delete those old pydantic classes in this file also, we won't be using them
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Removed them!
id: Build__Id | ||
architecture: Build__Architecture | ||
config_name: Build__ConfigName | ||
valid: Build__Valid | ||
start_time: Build__StartTime | ||
duration: Build__Duration | ||
compiler: Build__Compiler | ||
log_url: Build__LogUrl |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
it actually looks good
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Really liked how it turned out as well
c8c4685
to
002435f
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
002435f
to
3fc6228
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nice job!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice job!!
Part of #86