-
Notifications
You must be signed in to change notification settings - Fork 0
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
List diffusion databases and their attributes #544
base: main
Are you sure you want to change the base?
Conversation
ba82fe7
to
281721f
Compare
Il serait peut-être judicieux de mettre un placeholder dans ce champ JSON |
Merci pour cette première PR ! 2 remarques additionnelles de mon côté :
|
|
@bbaret Avec un default c'est un peu compliqué j'ai l'impression ? On pourrait imaginer mettre des indications, mais à ce stade je pense qu'il faudrait soit juste faire une formation ou un Notion externe, soit regarder pour intégrer un éditeur en mode table pour plus de clarté. |
71e54ca
to
f6b0444
Compare
45008fa
to
076e087
Compare
2469bcf
to
5ae150c
Compare
bdc8763
to
7dd5c1d
Compare
bc211c6
to
a1863ee
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.
Belle première PR :)
Essayons là !
@@ -547,3 +548,18 @@ def get_content_from_streaming_response(response): | |||
content = list(response.streaming_content) | |||
# each element of the list is a byte string, that we need to decode | |||
return "".join([b.decode("utf-8") for b in content]) | |||
|
|||
|
|||
class TestDiffusionDatabases(APITestCase): |
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.
on pourra à l'avenir rajouter quelques tests supplémentaires, comme par exemple vérifier que le json validator marche bien
Endpoint pour lister les bases de données dans lesquelles sont diffusés les ID-RNBs, et le catalogue des attributs qui y sont accessibles.