Module Expr Str Import alias Import alias Assign NameStore TupleLoad Str Str Str Str Str Assign NameStore Dict FunctionDef arguments args defaults kwarg body Expr Str Global identifier Assign NameStore Call NameLoad NameLoad decorator_list FunctionDef arguments args defaults body Expr Str For NameStore NameLoad body If Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad body Return NameLoad decorator_list TryExcept body Import alias Import alias ImportFrom alias FunctionDef arguments args NameParam NameParam defaults NameLoad NameLoad kwarg body Assign NameStore Call AttributeLoad NameLoad attr If NameLoad body Assign SubscriptStore NameLoad Index Str NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str If BoolOpAnd BoolOpOr UnaryOpNot NameLoad CompareEq NameLoad Str UnaryOpNot Call AttributeLoad NameLoad attr Str body Assign NameStore Call NameLoad If NameLoad body Assign SubscriptStore NameLoad Index Str NameLoad orelse Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str NameLoad Return Call AttributeLoad NameLoad attr NameLoad decorator_list handlers ExceptHandler type NameLoad body Expr Call AttributeLoad NameLoad attr Str FunctionDef arguments args NameParam NameParam defaults NameLoad NameLoad body Raise Call NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Str decorator_list
N/A N/A Relational database API stub that uses the MySQLdb DB-API library.

Also see the rdbms module.
 N/A logging N/A os N/A _POTENTIAL_SOCKET_LOCATIONS N/A /tmp/mysql.sock /var/run/mysqld/mysqld.sock /var/lib/mysql/mysql.sock /var/run/mysql/mysql.sock /var/mysql/mysql.sock N/A _connect_kwargs N/A SetConnectKwargs N/A N/A N/A kwargs N/A N/A Sets the keyword args (host, user, etc) to pass to MySQLdb.connect(). N/A _connect_kwargs N/A _connect_kwargs N/A dict kwargs N/A FindUnixSocket N/A N/A N/A N/A N/A Find the Unix socket for MySQL by scanning some known locations.

  Returns:
    If found, the path to the Unix socket, otherwise, None.
   N/A path _POTENTIAL_SOCKET_LOCATIONS N/A N/A N/A N/A N/A os path exists path N/A N/A path N/A N/A N/A N/A google N/A MySQLdb MySQLdb * connect N/A N/A instance database N/A None None kwargs N/A N/A merged_kwargs N/A N/A _connect_kwargs copy N/A database N/A N/A N/A merged_kwargs N/A db database N/A N/A N/A merged_kwargs update kwargs N/A host N/A N/A merged_kwargs get host N/A N/A N/A N/A host N/A host localhost N/A N/A N/A merged_kwargs get unix_socket N/A N/A socket N/A FindUnixSocket N/A socket N/A N/A N/A merged_kwargs N/A unix_socket socket N/A N/A N/A N/A logging warning Unable to find MySQL socket file.  Use --mysql_socket to specify its location manually. N/A N/A N/A logging info Connecting to MySQL with kwargs %r merged_kwargs N/A N/A N/A MySQLdb connect merged_kwargs N/A N/A N/A N/A ImportError N/A N/A N/A N/A logging warning The rdbms API is not available because the MySQLdb library could not be loaded. connect N/A N/A instance database N/A None None N/A N/A N/A NotImplementedError Unable to find the MySQLdb library. Please see the SDK documentation for installation instructions. N/A set_instance N/A N/A instance N/A N/A N/A N/A N/A logging info set_instance() is a noop in dev_appserver. N/A