Skip to content

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

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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