Closed da-hon5 closed 2 years ago
Can you provide an example of your code and what the error is? (also version information etc)
from spock import SpockBuilder
from spock import spock
from spock import SavePath
@spock
class Simple:
only: int
save_path: SavePath = "/tmp"
def main():
test = SpockBuilder(Simple, lazy=True)
test = test.generate()
print(test)
if __name__ == '__main__':
main()
This code works on master
thanks! i didn't know i have to import SavePath :)
Closing unless you have any other issues
hi, i still can't figure out how SavePath is working. The keyword SavePath is not recognised ... i don't have to import something, right?