Skip to content

mfusepy update #120

@mxmlnkn

Description

@mxmlnkn

Hello,

I am currently working a bit on type-hint support for mfusepy among others and saw that this project already depends on it and unfortunately does not pin the major version:

"mfusepy>=1.0.0",

It should be mfusepy ~= 1.0 to avoid breaking your project when I relase version 2.0.

In particular, I was gonna remove the indirection through Operations.__call__ because I don't see the use of it and it looks not idiomatic. Decorators should get you the same results. In particular, this means that LoggingMixIn, which uses __call__ would be removed. Most of its functionality can also be achieved with -o debug although at a slightly different abstraction layer. Do you need the LoggingMixin functionality or did you just accidentally copy-paste it from the examples?

class RomFSMount(LoggingMixIn, Operations):

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