Azure / Azure/azure-sdk-for-python

[core] add a `basic_schema_validation` function to `azure.core.serialization`

Aperta
#41,439 0 commenti 0 reazioni 1 assegnatario Rivendicata da @iscai-msft Vedi su GitHub
Azure.Core
Lingua principale
Python
Stelle
5.6k
Fork
3.4k
Merge medio
2g 2h
PR unite (30g)
213

Descrizione

Add a function that takes in an msrest / dpg model, and a rest payload of that model. Then do basic validation to make sure the types are all correct. I.e. if we're expecting a string but we get an int for a property, throw a `ValidationError` / some other kind of deserialization error

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.