import os
from aspose.psd.fileformats.psd.layers import TextLayer
def test(layer: TextLayer, name: str) -> None:
layer.update_text(name)
Two issues:
- Though method does support providing just the
str argument, actually providing it results in typing error:
- Method doesn't have defined return type, so
Unknown is assumed (general issue with the stubs).