Skip to content

Workfiles API redefines built-in open #407

@jasperges

Description

@jasperges

The Worfiles API redefines the built-in open. That's bad practice and if you're not careful it may lead to issues. Maybe it would be better to rename it to open_file or something like this?

https://github.com/getavalon/core/blob/master/avalon/tools/workfiles/app.py#L362
https://github.com/getavalon/core/tree/master/avalon/tools/workfiles#implementing-a-new-host-integration-for-work-files

Every workio.py file for the hosts should then be updated as well.

Metadata

Metadata

Assignees

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