Found as part of #7774: the idempotency tests fail occasionally, mostly for the recent NOTION.COM api.
One failing test is https://github.com/microsoft/kiota/actions/runs/28884299669/job/85681452557:
==>In this case, a difference in file "models\partial_user_object_response.py" occured:
First one:
@dataclass
class PartialUserObjectResponse(Parsable):
"""
The user who created the data source.
"""
Second one:
@dataclass
class PartialUserObjectResponse(Parsable):
"""
User who created the page.
"""
Interesting here: the "partialUserObjectResponse" is referenced from two properties, and they have differing descriptions:
"pageObjectResponse": {
"properties": {
...
"created_by": {
"$ref": "#/components/schemas/partialUserObjectResponse",
"description": "User who created the page."
},
"dataSourceObjectResponse": {
"type": "object",
"properties": {
...
"created_by": {
"$ref": "#/components/schemas/partialUserObjectResponse",
"description": "The user who created the data source."
},
Note: in #7774, I added code to "compare-generation.ps1" to report the files containing a difference - it is easier to track down those problems with the modified script from the pull request.
Found as part of #7774: the idempotency tests fail occasionally, mostly for the recent NOTION.COM api.
One failing test is https://github.com/microsoft/kiota/actions/runs/28884299669/job/85681452557:
==>In this case, a difference in file "models\partial_user_object_response.py" occured:
First one:
Second one:
Interesting here: the "partialUserObjectResponse" is referenced from two properties, and they have differing descriptions:
Note: in #7774, I added code to "compare-generation.ps1" to report the files containing a difference - it is easier to track down those problems with the modified script from the pull request.