Skip to content

[PyYAML] Complete event emission and serialization types - #16774

Open
iamabhisheknag wants to merge 1 commit into
python:mainfrom
iamabhisheknag:fix/pyyaml-serialization-types
Open

iamabhisheknag wants to merge 1 commit into
python:mainfrom
iamabhisheknag:fix/pyyaml-serialization-types

Conversation

@iamabhisheknag

Copy link
Copy Markdown
Contributor

Annotate event and node inputs for emit(), serialize() and serialize_all(), and distinguish the string returned by emit() from its None result when writing to a supplied stream.

Implementation: https://github.com/yaml/pyyaml/blob/6.0.3/lib/yaml/__init__.py#L157-L214

AI assistance: OpenAI coding assistant (GPT-6).

@github-actions

Copy link
Copy Markdown
Contributor

According to mypy_primer, this change has no effect on the checked open source code. 🤖🎉

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant