-
Notifications
You must be signed in to change notification settings - Fork 167
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
enum枚举希望实现顺序取文件值,请帮忙告知一下源码读取文件的代码在哪个函数 #12
Comments
在datafaker/dbs/basedb.py文件parse_schema_from_rows函数部分
|
好的,非常感谢~我去试试能不能改改 |
感谢提供代码和修改意见,我近期会尽快合并代码实现顺序enum功能 |
已新增order_enum类型 |
已更新到0.6.2,已经支持,非常感谢! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
作者您好,现有需求需要实现从文件数值按顺序写入指定数据库,目前在看您的源码,fake_enum函数接收一个用户输入参数如[:enum(1,2)],转化为列表,然后调random随机取值,但是没看到[:enum(names.txt)]这种方式函数如何解析的。麻烦告知一下,谢谢~
The text was updated successfully, but these errors were encountered: