介绍: 用于存放当前对象实例所属的类型,值是:<class 'flask.app.Flask'>
。**注意在未修改__class__的状况下,type(A)=A.class
shell
介绍: 用于存放当前对象的全部属性。其内容是本文数据字典的子集。
json
介绍: 保存类的文档字符串。能够经过help函数或者inspect.getdoc(Class)
得到。
flask
介绍: 类所属的模块。
cookie
介绍:
session
介绍:
app
介绍:
ssh
介绍:
ide
介绍:
函数
介绍:
ui
介绍:
介绍:
介绍:
介绍:
介绍:
介绍:
介绍:
介绍:
介绍:
介绍:
介绍:
介绍:
介绍:
介绍:
介绍:
介绍:
介绍:
介绍:
介绍:
介绍:
介绍:
介绍:
介绍:
介绍:删除属性attr;内建函数self.delattr(attr)时被调用。
介绍: 格式化字符串的输出.
介绍: 访问Flask的属性时调用该函数。老是被调用。
介绍: 散列函数值,调用该方法能够获得对象的7位哈希数字。
介绍: 静态方法,用于建立类实例;它在__init__以前被调用。
介绍: 没找到介绍。
介绍: 没找到介绍
介绍: 设置属性attr;内建函数self.setattr(self,attr,val)的调用;
介绍: 没找到介绍
介绍: :当前对象被字符串化时被调用;内建函数str(self)函数,或print(self)的调用;
介绍: 没找到介绍
介绍: 没找到介绍
参数: endpoint,values
介绍:
介绍:
参数: blueprint,**options
介绍:
参数: context
介绍:
参数: f,name=None
介绍:
介绍:
介绍:
参数: request
介绍:
介绍:
参数: request
介绍:
参数: f
介绍:
参数: error
介绍:
参数: import_name, static_path = None, static_url_path = None,static_folder = 'static', template_folder = 'templates',instance_path = None, instance_relative_config = False,root_path = None
介绍:
介绍:
参数: args,*kwargs
介绍:
参数: f
介绍:
参数: instance_relative=False
介绍:
介绍:
参数: f
介绍:
参数: e
介绍:
参数: f
介绍:
参数: filename
介绍:
参数: environ,start_response
介绍:
参数: e
介绍:
参数: use_cookies=True,**kwargs
介绍:
介绍:
参数: environ,start_response
介绍:
参数: exc=_sentinel
介绍:
介绍:
参数: f,name=None
介绍:
参数: name=None
介绍:
参数: f
介绍:
参数: response
介绍:
参数: host=None,port=None,debug=None,**options
介绍:
参数: name=None
介绍:
参数: error,endpoint,values
介绍:
参数: exc=_sentinel
介绍:
参数: exc_class_or_code
介绍:
介绍:
参数: code_or_exception
介绍:
参数: exc_info
介绍:
参数: f
介绍:
介绍:
参数: f
介绍:
参数: code_or_exception,f
介绍:
参数: request
介绍:
介绍:
介绍:
参数: e
介绍:
参数: rv,from_error_handler=False
介绍:
参数: session,response
介绍:
参数: endpoint
介绍:
介绍:
介绍:
参数: key,code_or_exception,f
介绍:
介绍:
参数: rule,endpoint=None,view_func=None,**options
介绍:
参数: rule,**options
介绍:
参数: resource,mode='rb'
介绍:
参数: e
介绍:
介绍:
介绍:
介绍:
参数: name=None
介绍:
介绍:
参数: rv
介绍:
参数: environ
介绍:
介绍:
参数: f,name=None
介绍:
参数: f
介绍:
参数: f
介绍:
参数: e
介绍:
方法类型介绍:
@classmethod means: when this method is called, we pass the class as the first argument instead of the instance of that class (as we normally do with methods). This means you can use the class and its properties inside that method rather than a particular instance. @staticmethod means: when this method is called, we don't pass an instance of the class to it (as we normally do with methods). This means you can put a function inside a class but you can't access the instance of that class (this is useful when your method does not use the instance).