Skip to content

TryGetTypedValue seems to be transpiled incorrectly in python #25

Description

@kMutagene
def TryGetTypedValue(self, name: str) -> Any | None:
    this: DynamicObj = self
    match_value: Any | None = this.TryGetValue(name)
    if match_value is not None:
        o: Any = value_1(match_value)
        return some(o) if False else None

    else: 
        return None

Always returns None, while TryGetValue returns the correct value

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions