Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
N
network
Manage
Activity
Members
Labels
Plan
Issues
4
Issue boards
Milestones
Wiki
Code
Merge requests
9
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
funkwhale
network
Commits
23108a31
Verified
Commit
23108a31
authored
2 years ago
by
Georg Krause
Browse files
Options
Downloads
Patches
Plain Diff
Make metadata.usage not required
parent
9357ece8
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Pipeline
#26541
passed with stages
in 4 minutes and 50 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
funkwhale_network/schemas.py
+1
-1
1 addition, 1 deletion
funkwhale_network/schemas.py
with
1 addition
and
1 deletion
funkwhale_network/schemas.py
+
1
−
1
View file @
23108a31
...
...
@@ -113,7 +113,7 @@ class MetadataSchema(marshmallow.Schema):
nodeName
=
marshmallow
.
fields
.
String
(
required
=
True
)
private
=
marshmallow
.
fields
.
Boolean
(
required
=
True
)
library
=
marshmallow
.
fields
.
Nested
(
LibraryMetadataSchema
,
required
=
True
)
usage
=
marshmallow
.
fields
.
Nested
(
MetadataUsageSchema
,
required
=
Tru
e
)
usage
=
marshmallow
.
fields
.
Nested
(
MetadataUsageSchema
,
required
=
Fals
e
)
class
Meta
:
unknown
=
marshmallow
.
EXCLUDE
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment