Skip to content

Outdated example code #454

Closed
Closed
@sameshl

Description

@sameshl

I'm submitting a

  • bug report.
  • feature request.

Current Behaviour:

Lot of code for the doc_gen.py files from the hydrus repo in the ./examples folder seem outdated.
For eg, The way the status codes is defined here is wrong. It get interpreted in the expectsHeader section instead of possibleStatus section. The correct way would have been to use the HydraStatus or HydraError class.

Screenshot from 2020-02-23 22-26-11

Expected Behaviour:

The expected result should have been that it gets added to the possibleStatus section.
Screenshot from 2020-02-26 22-06-05

Steps to reproduce:

run python3 hydrus/examples/drones/doc_gen.py and examine the generated api doc and you would be able to find the above issues.

Do you want to work on this issue?

Yes

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions