Skip to content
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

Fix YAMLParseError: Nested mappings are not allowed in compact mappings #36

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

Likhithsai2580
Copy link

Fixes #29

Fix the YAMLParseError related to nested mappings in compact mappings.

  • Import and Function Call Changes

    • Update the yaml import to use yaml instead of yaml-js.
    • Modify the yaml.load function call to use yaml.parse.
  • Schema Field Changes

    • Ensure the schema field does not contain nested mappings.
  • Error Logging

    • Update the asyncretry_error object to correctly log errors without causing nested mappings error.

Fixes raidendotai#29

Fix the YAMLParseError related to nested mappings in compact mappings.

* **Import and Function Call Changes**
  - Update the `yaml` import to use `yaml` instead of `yaml-js`.
  - Modify the `yaml.load` function call to use `yaml.parse`.

* **Schema Field Changes**
  - Ensure the `schema` field does not contain nested mappings.

* **Error Logging**
  - Update the `asyncretry_error` object to correctly log errors without causing nested mappings error.
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.

YAMLParseError: Nested mappings are not allowed in compact mappings
2 participants