finos / finos/rune-python-runtime

Native function registration enhancement

Offen
#27 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
Python
Sterne
0
Forks
3
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

## Feature Request

### Description of Problem:
Currently, the `rune_attempt_register_native_functions` will set or overwrite the native function implementation.
As the initialisation is lazy, it could be misleading if a developer attempts to specify own native function implementation and the n later due to an import the stub redefines the custom installed native function to the system default one.

### Potential Solutions:
`rune_attempt_register_native_functions` to check if the function is already registered and do not override if it is.

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.