Skip to content

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