-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Use model class names as tags in format_as_xml
and add option to include field titles and descriptions as attributes
#2313
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
Merged
Merged
Changes from 31 commits
Commits
Show all changes
38 commits
Select commit
Hold shift + click to select a range
a9b5e5f
add fields attributes in xml serialization
c560f3c
more tests for xml serialization of prompts and partially managing ne…
bab5922
Merge branch 'main' into feature/xml-attributes
f99ff5d
tests fix
3f2c5dc
parse data structures for correct attributes and element names settings
051aa93
nested xml formatting tests
490afa4
fixing deprecation warnings
7e1ce2f
fixing Self import
ab47813
fixing annotations for older python
ad43c00
Merge branch 'main' into feature/xml-attributes
giacbrd f6b0cb8
fix coverage for xml parse
e1cbf5f
Merge branch 'main' into feature/xml-attributes
giacbrd 9e6f376
Merge branch 'main' into feature/xml-attributes
giacbrd d9a73c8
test more xml without attributes
f223496
Merge branch 'main' into feature/xml-attributes
giacbrd ba5c034
on format xml: parameter name and cleaned code
595234f
parameter for avoiding repeating attributes serialization in xml format
07d737c
minor fix on create element in xml format
1d3473a
minor fix on create element in xml format
01d3ffd
xml format methods refactoring
42e5f5f
minor optimization
giacbrd 0a22655
minor refactoring
0718be7
optimized structure info creation when format xml
33ccd0e
optimized structure info creation when format xml
0e99669
optimized structure info creation when format xml (minor refactoring)
87ee7bd
optimized element creation when format xml
7956aff
refactored arguments of format xml method
a551bc8
extract also dataclasses field metadata for xml format
05323d2
minor improvement in tests for xml format
ce6d90f
coverage fix in tests for xml format
6bd3617
coverage fix in tests for xml format
2fd9ba8
merged parameters of xml format
91a2b10
minor optimization
giacbrd 2c912cd
minor optimization
giacbrd 6e8f2c7
minor optimization
giacbrd 62d7367
no more alias attribute in formatted xml elements
6d7b17f
Merge branch 'main' into feature/xml-attributes
giacbrd 429da71
UP038 fix
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.