mirror of
https://github.com/crawlab-team/crawlab.git
synced 2026-01-21 17:21:09 +01:00
feat: updated the way syncing pypi projects
This commit is contained in:
9
core/models/models/dependency_pypi_project.go
Normal file
9
core/models/models/dependency_pypi_project.go
Normal file
@@ -0,0 +1,9 @@
|
||||
package models
|
||||
|
||||
type DependencyPypiProject struct {
|
||||
any `collection:"dependency_pypi_projects"`
|
||||
BaseModel[DependencyPypiProject] `bson:",inline"`
|
||||
Name string `json:"name" bson:"name"`
|
||||
Version string `json:"version" bson:"version"`
|
||||
LastSerial int `json:"_last-serial" bson:"last_serial"`
|
||||
}
|
||||
Reference in New Issue
Block a user