Skip to content

Regression in v0.2.2 #168

@j616

Description

@j616

Hello,
I've getting the following (partial) traceback as of v0.2.2.

    return RAMLLoader().load(input_file)
209
  File "/usr/local/lib/python3.10/site-packages/ramlfications/loader.py", line 123, in load
210
    raml_version, _raml_fragment_type = self._parse_raml_header(raml)
211
  File "/usr/local/lib/python3.10/site-packages/ramlfications/loader.py", line 88, in _parse_raml_header
212
    if not header.startswith(RAMLHEADER):
213
TypeError: startswith first arg must be bytes or a tuple of bytes, not str

Looks to be a strait up type error internal to ramlifications. I can try and create a minimal test case to re-create the issue if required.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions