Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
NPDD
baobaxia-mucua
Commits
4fcb8cec
Commit
4fcb8cec
authored
3 years ago
by
alice
Browse files
Options
Download
Email Patches
Plain Diff
Campos opcionais de mídia passam a ser tratados como opcionais também no endpoint.
parent
dfa77a48
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
baobaxia/acervo.py
+6
-6
baobaxia/acervo.py
with
6 additions
and
6 deletions
+6
-6
baobaxia/acervo.py
View file @
4fcb8cec
...
...
@@ -99,9 +99,9 @@ async def post_midia(*,
balaio
:
str
,
mucua
:
str
,
titulo
:
str
=
Form
(...),
descricao
:
Optional
[
str
]
=
Form
(
...
),
autor
:
Optional
[
str
]
=
Form
(
...
),
mocambo
:
Optional
[
str
]
=
Form
(
...
),
descricao
:
Optional
[
str
]
=
Form
(
None
),
autor
:
Optional
[
str
]
=
Form
(
None
),
mocambo
:
Optional
[
str
]
=
Form
(
None
),
tipo
:
MidiaTipo
=
Form
(...),
tags
:
Optional
[
str
]
=
Form
(
None
),
token
:
str
=
Header
(...))
->
Midia
:
...
...
@@ -138,9 +138,9 @@ async def put_midia(*,
mucua
:
str
,
path
:
Path
,
titulo
:
str
=
Form
(...),
descricao
:
Optional
[
str
]
=
Form
(
...
),
autor
:
Optional
[
str
]
=
Form
(
...
),
mocambo
:
Optional
[
str
]
=
Form
(
...
),
descricao
:
Optional
[
str
]
=
Form
(
None
),
autor
:
Optional
[
str
]
=
Form
(
None
),
mocambo
:
Optional
[
str
]
=
Form
(
None
),
tags
:
Optional
[
str
]
=
Form
(
None
),
token
:
str
=
Header
(...))
->
Midia
:
try
:
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment
Menu
Projects
Groups
Snippets
Help