You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It didn't auto generate a docstring for the sign_up function until I moved it to the bottom of the file.
fromconfigimportconfig_mysqlimportmysql.connectorcnx=mysql.connector.connect(**config_mysql)
""" need username, email, and password to make an account"""defsign_up(username: str, password: str, email: str) ->bool:
"""""""""CREATE TABLE IF NOT EXISTS test_usernames (idUser INT NOT NULL AUTO_INCREMENT PRIMARY KEY,username VARCHAR(30) NOT NULL,password VARCHAR(30) NOT NULL,email VARCHAR(30) NOT NULL);"""cnx.close()
Versions
autoDocstring Version: v0.6.1
Operating System: using remote ssh into an ubuntu server from my computer running macOS
Vscode Version: 1.74.3
The text was updated successfully, but these errors were encountered:
I have the same issue, Ctrl+Shift+2 and menu item generate docstring works.
Versions
autoDocstring Version: v0.6.1
Operating System: windows
Vscode Version: 1.75.0
It didn't auto generate a docstring for the
sign_up function
until I moved it to the bottom of the file.Versions
The text was updated successfully, but these errors were encountered: