Skip to content

The dir variable in some of your code snippits is overriding the build in dir function #28

@joej164

Description

@joej164

https://github.com/Isilon/isilon_sdk_python/blob/v8.2.1/docs/ProtocolsApi.md#list_nfs_exports

This is an example of the code generated.

I was trying to examine the api_instance object after it had been called once. I lost a couple hours thinking something odd was going on with me.

What i was trying to do was:
print(dir(api_instance)) to see all the methods on the object.

I updated the dir variable to be direction and thus was able to proceed with what I wanted to do using the built in dir() function.

I could do a PR, but I believe all the docs are auto generated, so not sure where the swagger code is.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Bug_ProductBugs related to the OneFS product.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions