function not found with error AttributeError: "'module' has no attribute 'pre_save'"
Open
- Dominant language
- Go
- Stars
- 1k
- Forks
- 105
- PR merge metrics
- No merged PRs in 30d
Description
I have the small script below that I try to test:
```python
import sys
def pre_save(value, numb):
if value == "value":
return("accepted by Python script " + sys.version)
else:
return("refused by Python script" + sys.version)
```
When I do a ` py.RunSrc(ctx, pythonCode, "", nil)`, I get "AttributeError: "'module' has no attribute 'pre_save'""
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.