Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TryGetTypedValue seems to be transpiled incorrectly in python #25

Closed
kMutagene opened this issue Aug 28, 2024 · 1 comment
Closed

TryGetTypedValue seems to be transpiled incorrectly in python #25

kMutagene opened this issue Aug 28, 2024 · 1 comment
Assignees

Comments

@kMutagene
Copy link
Member

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

@HLWeil
Copy link
Member

HLWeil commented Sep 2, 2024

closed by #28

kMutagene added a commit to nfdi4plants/ARCtrl that referenced this issue Sep 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants