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
The import method belonging to the Terraform class cannot be invoked because import is a reserved keyword in Python. Please rename the method to make it useable.
The following will throw a syntax error under any usage because of this (Python 3.6.9 and 2.7.17):
tf=Terraform()
tf.import()
The text was updated successfully, but these errors were encountered:
Note: method name same as reserved keyword like import won't be accepted by python interpreter, to be able to call the method, you could call cmd_name by adding _cmd after command name, for example, import here could be called by
from python_terraform import *
t = Terraform()
return_code, stdout, stderr = t.import_cmd(*arguments, **options)
The
import
method belonging to theTerraform
class cannot be invoked becauseimport
is a reserved keyword in Python. Please rename the method to make it useable.The following will throw a syntax error under any usage because of this (Python 3.6.9 and 2.7.17):
The text was updated successfully, but these errors were encountered: