[Python] How to use the StringAdapter in pycasbin

Discussão em 'Python' iniciado por Stack, Abril 9, 2025.

  1. Stack

    Stack Membro Participativo

    pycasbin includes a class StringAdapter in the file adapters/string_adapter.py, however, it doesn't seem to be useable.

    Note that it is not an attribute of casbin.persist:

    dir(casbin.persist)

    ['Adapter', 'BatchAdapter', 'FileAdapter', 'FilteredAdapter', 'FilteredFileAdapter', 'UpdateAdapter', '__builtins__', ...]

    How can it be used ?

    Continue reading...

Compartilhe esta Página