 Flask-RESTful Documentation Release 0.3.10'task': fields.String, 'uri': fields.Url('todo_ep') } class TodoDao(object): def __init__(self, todo_id, task): self.todo_id = todo_id self.task = task # This field strings to their internal integer representation # 'init' => 0 # 'in-progress' => 1 # 'completed' => 2 def task_status(value): statuses = [u"init", u"in-progress", u"completed"] return statuses provide your own output functions. class Api(restful.Api): def __init__(self, *args, **kwargs): super(Api, self).__init__(*args, **kwargs) self.representations = { 'application/xml':0 码力 | 42 页 | 84.60 KB | 1 年前3 Flask-RESTful Documentation Release 0.3.10'task': fields.String, 'uri': fields.Url('todo_ep') } class TodoDao(object): def __init__(self, todo_id, task): self.todo_id = todo_id self.task = task # This field strings to their internal integer representation # 'init' => 0 # 'in-progress' => 1 # 'completed' => 2 def task_status(value): statuses = [u"init", u"in-progress", u"completed"] return statuses provide your own output functions. class Api(restful.Api): def __init__(self, *args, **kwargs): super(Api, self).__init__(*args, **kwargs) self.representations = { 'application/xml':0 码力 | 42 页 | 84.60 KB | 1 年前3
 Référence Debian v2.124$HOME ». valeur de « $HOME » situation d’exécution d’un programme / programme lancé par le processus init (démon) /root programme lancé depuis l’interpréteur de commandes normal de l’ administrateur (« root système initrd. Un système semblable en mémoire est utilisé par l’installateur Debian. Le script « /init » est exécuté en tant que premier programme sur le système de fichiers racine en mémoire. C’est un démarrage principal ou le montage du système de fichiers racine en mode chiffré. — Le programme « /init » est un programme de script d’interpréteur si initramfs a été créé par initramfs-tools. — Vous pouvez0 码力 | 279 页 | 1.47 MB | 1 年前3 Référence Debian v2.124$HOME ». valeur de « $HOME » situation d’exécution d’un programme / programme lancé par le processus init (démon) /root programme lancé depuis l’interpréteur de commandes normal de l’ administrateur (« root système initrd. Un système semblable en mémoire est utilisé par l’installateur Debian. Le script « /init » est exécuté en tant que premier programme sur le système de fichiers racine en mémoire. C’est un démarrage principal ou le montage du système de fichiers racine en mode chiffré. — Le programme « /init » est un programme de script d’interpréteur si initramfs a été créé par initramfs-tools. — Vous pouvez0 码力 | 279 页 | 1.47 MB | 1 年前3
 Click Documentation
Release 4.2.dev0minimal. Let’s assume your directory structure changed to this: yourpackage/ __init__.py main.py utils.py scripts/ __init__.py yourscript.py In this case instead of using py_modules in your setup.py file overridden: @click.group() def cli(): """A simple command line tool.""" @cli.command('init', short_help='init the repo') def init(): """Initializes the repository.""" (continues on next page) 1.9. Documenting command line tool. Options: --help Show this message and exit. Commands: delete delete the repo init init the repo 1.9.5 Help Parameter Customization New in version 2.0. The help parameter is implemented0 码力 | 101 页 | 407.32 KB | 1 年前3 Click Documentation
Release 4.2.dev0minimal. Let’s assume your directory structure changed to this: yourpackage/ __init__.py main.py utils.py scripts/ __init__.py yourscript.py In this case instead of using py_modules in your setup.py file overridden: @click.group() def cli(): """A simple command line tool.""" @cli.command('init', short_help='init the repo') def init(): """Initializes the repository.""" (continues on next page) 1.9. Documenting command line tool. Options: --help Show this message and exit. Commands: delete delete the repo init init the repo 1.9.5 Help Parameter Customization New in version 2.0. The help parameter is implemented0 码力 | 101 页 | 407.32 KB | 1 年前3
 PlantUML 1.2019.6 Guide de référence du langagediagramme, en utilisant le mot-clé ref over. @startuml participant Alice actor Bob ref over Alice, Bob : init Alice -> Bob : hello ref over Bob This can be on several lines end ref @enduml 1.17 Retard Utiliser ensembles en définissant les partitions. @startuml start partition Initialization { :read config file; :init internal variable; } partition Running { :wait for user interaction; :print information; } Guide endfunction !function init_class($name) class $name { $addCommonMethod() } !endfunction !function $addCommonMethod() toString() hashCode() !endfunction init_class("foo1") init_class("foo2") msg("foo1"0 码力 | 174 页 | 1.91 MB | 1 年前3 PlantUML 1.2019.6 Guide de référence du langagediagramme, en utilisant le mot-clé ref over. @startuml participant Alice actor Bob ref over Alice, Bob : init Alice -> Bob : hello ref over Bob This can be on several lines end ref @enduml 1.17 Retard Utiliser ensembles en définissant les partitions. @startuml start partition Initialization { :read config file; :init internal variable; } partition Running { :wait for user interaction; :print information; } Guide endfunction !function init_class($name) class $name { $addCommonMethod() } !endfunction !function $addCommonMethod() toString() hashCode() !endfunction init_class("foo1") init_class("foo2") msg("foo1"0 码力 | 174 页 | 1.91 MB | 1 年前3
 PlantUML 1.2019.9 Guide de référence du langagediagramme, en utilisant le mot-clé ref over. @startuml participant Alice actor Bob ref over Alice, Bob : init Alice -> Bob : hello ref over Bob This can be on several lines end ref @enduml 1.17 Retard Utiliser ensembles en définissant les partitions. @startuml start partition Initialization { :read config file; :init internal variable; } partition Running { :wait for user interaction; :print information; } Guide endfunction !function init_class($name) class $name { $addCommonMethod() } !endfunction !function $addCommonMethod() toString() hashCode() !endfunction init_class("foo1") init_class("foo2") msg("foo1"0 码力 | 174 页 | 1.93 MB | 1 年前3 PlantUML 1.2019.9 Guide de référence du langagediagramme, en utilisant le mot-clé ref over. @startuml participant Alice actor Bob ref over Alice, Bob : init Alice -> Bob : hello ref over Bob This can be on several lines end ref @enduml 1.17 Retard Utiliser ensembles en définissant les partitions. @startuml start partition Initialization { :read config file; :init internal variable; } partition Running { :wait for user interaction; :print information; } Guide endfunction !function init_class($name) class $name { $addCommonMethod() } !endfunction !function $addCommonMethod() toString() hashCode() !endfunction init_class("foo1") init_class("foo2") msg("foo1"0 码力 | 174 页 | 1.93 MB | 1 年前3
 PlantUML 1.2023.11 Guide de référence du langagediagramme, en utilisant le mot-clé ref over. @startuml participant Alice actor Bob ref over Alice, Bob : init Alice -> Bob : hello ref over Bob This can be on several lines end ref @enduml Guide de référence regrouper des activités en définissant un groupe @startuml start group Initialization :read config file; :init internal variable; end group group Running group :wait for user interaction; :print information; end activités en définissant une partition @startuml start partition Initialization { :read config file; :init internal variable; } partition Running { :wait for user interaction; :print information; } stop @enduml0 码力 | 534 页 | 7.56 MB | 1 年前3 PlantUML 1.2023.11 Guide de référence du langagediagramme, en utilisant le mot-clé ref over. @startuml participant Alice actor Bob ref over Alice, Bob : init Alice -> Bob : hello ref over Bob This can be on several lines end ref @enduml Guide de référence regrouper des activités en définissant un groupe @startuml start group Initialization :read config file; :init internal variable; end group group Running group :wait for user interaction; :print information; end activités en définissant une partition @startuml start partition Initialization { :read config file; :init internal variable; } partition Running { :wait for user interaction; :print information; } stop @enduml0 码力 | 534 页 | 7.56 MB | 1 年前3
 PlantUML 1.2020.22 Guide de référence du langagediagramme, en utilisant le mot-clé ref over. @startuml participant Alice actor Bob ref over Alice, Bob : init Alice -> Bob : hello ref over Bob This can be on several lines end ref @enduml Guide de référence ensembles en définissant les partitions. @startuml start partition Initialization { :read config file; :init internal variable; } partition Running { :wait for user interaction; :print information; } stop @enduml endprocedure !procedure $init_class($name) class $name { $addCommonMethod() } !endprocedure !procedure $addCommonMethod() toString() hashCode() !endprocedure $init_class("foo1") $init_class("foo2") $msg("foo1"0 码力 | 295 页 | 3.03 MB | 1 年前3 PlantUML 1.2020.22 Guide de référence du langagediagramme, en utilisant le mot-clé ref over. @startuml participant Alice actor Bob ref over Alice, Bob : init Alice -> Bob : hello ref over Bob This can be on several lines end ref @enduml Guide de référence ensembles en définissant les partitions. @startuml start partition Initialization { :read config file; :init internal variable; } partition Running { :wait for user interaction; :print information; } stop @enduml endprocedure !procedure $init_class($name) class $name { $addCommonMethod() } !endprocedure !procedure $addCommonMethod() toString() hashCode() !endprocedure $init_class("foo1") $init_class("foo2") $msg("foo1"0 码力 | 295 页 | 3.03 MB | 1 年前3
 PlantUML 1.2020.23 Guide de référence du langagediagramme, en utilisant le mot-clé ref over. @startuml participant Alice actor Bob ref over Alice, Bob : init Alice -> Bob : hello ref over Bob This can be on several lines end ref @enduml Guide de référence ensembles en définissant les partitions. @startuml start partition Initialization { :read config file; :init internal variable; } partition Running { :wait for user interaction; :print information; } stop @enduml endprocedure !procedure $init_class($name) class $name { $addCommonMethod() } !endprocedure !procedure $addCommonMethod() toString() hashCode() !endprocedure $init_class("foo1") $init_class("foo2") $msg("foo1"0 码力 | 308 页 | 3.12 MB | 1 年前3 PlantUML 1.2020.23 Guide de référence du langagediagramme, en utilisant le mot-clé ref over. @startuml participant Alice actor Bob ref over Alice, Bob : init Alice -> Bob : hello ref over Bob This can be on several lines end ref @enduml Guide de référence ensembles en définissant les partitions. @startuml start partition Initialization { :read config file; :init internal variable; } partition Running { :wait for user interaction; :print information; } stop @enduml endprocedure !procedure $init_class($name) class $name { $addCommonMethod() } !endprocedure !procedure $addCommonMethod() toString() hashCode() !endprocedure $init_class("foo1") $init_class("foo2") $msg("foo1"0 码力 | 308 页 | 3.12 MB | 1 年前3
 Debian GNU/Linux 安装手册
January 8, 2024服务器和网关在内的所有 工作。您需要修改域名选项,以及服务器名和客户端硬件地址。filename 选项应该是将要从 TFTP 获取 的文件名。 在编辑了 dhcpd 配置文件后,您需要使用下面的命令重新启动:/etc/init.d/isc-dhcp-server restart。 4.3.2 架设 BOOTP 服务器 在 GNU/Linux 下面可以使用两种 BOOTP 服务器。首先是 CMU bootpd,另外一种实际上是 /etc/inetd.conf 中相关的注释标记去掉 (或者加入 一些新行)。在 Debian GNU/Linux 里,您可以运行 update-inetd --enable bootps,然后执行 /etc/init.d/inetd reload 来实现此任务。万一您的 BOOTP 服务器不是运行在 Debian 上,这行 看起来应该像这样: bootps dgram udp wait root /usr/sbin/bootpd allow bootp 指令添加到包含客户机的子网的配置 15 CHAPTER 4. 获取系统安装介质 4.4. 自动化安装 部分 /etc/dhcp/dhcpd.conf,并用命令 /etc/init.d/isc-dhcp-server restart 重新启动 dhcpd。 4.3.3 开启 TFTP 服务器 要准备好 TFTP 服务器,您首先需要确定 tftpd 已经启动。 对于 tftpd-hpa0 码力 | 93 页 | 562.93 KB | 1 年前3 Debian GNU/Linux 安装手册
January 8, 2024服务器和网关在内的所有 工作。您需要修改域名选项,以及服务器名和客户端硬件地址。filename 选项应该是将要从 TFTP 获取 的文件名。 在编辑了 dhcpd 配置文件后,您需要使用下面的命令重新启动:/etc/init.d/isc-dhcp-server restart。 4.3.2 架设 BOOTP 服务器 在 GNU/Linux 下面可以使用两种 BOOTP 服务器。首先是 CMU bootpd,另外一种实际上是 /etc/inetd.conf 中相关的注释标记去掉 (或者加入 一些新行)。在 Debian GNU/Linux 里,您可以运行 update-inetd --enable bootps,然后执行 /etc/init.d/inetd reload 来实现此任务。万一您的 BOOTP 服务器不是运行在 Debian 上,这行 看起来应该像这样: bootps dgram udp wait root /usr/sbin/bootpd allow bootp 指令添加到包含客户机的子网的配置 15 CHAPTER 4. 获取系统安装介质 4.4. 自动化安装 部分 /etc/dhcp/dhcpd.conf,并用命令 /etc/init.d/isc-dhcp-server restart 重新启动 dhcpd。 4.3.3 开启 TFTP 服务器 要准备好 TFTP 服务器,您首先需要确定 tftpd 已经启动。 对于 tftpd-hpa0 码力 | 93 页 | 562.93 KB | 1 年前3
 PlantUML 1.2021.1 Guide de référence du langagediagramme, en utilisant le mot-clé ref over. @startuml participant Alice actor Bob ref over Alice, Bob : init Alice -> Bob : hello ref over Bob This can be on several lines end ref @enduml 1.21 Retard Utiliser ensembles en définissant les partitions. @startuml start partition Initialization { :read config file; :init internal variable; } partition Running { :wait for user interaction; :print information; } stop @enduml @startuml !procedure $msg($source, $destination) $source --> $destination !endprocedure !procedure $init_class($name) class $name { $addCommonMethod() } !endprocedure !procedure $addCommonMethod() toString()0 码力 | 385 页 | 4.05 MB | 1 年前3 PlantUML 1.2021.1 Guide de référence du langagediagramme, en utilisant le mot-clé ref over. @startuml participant Alice actor Bob ref over Alice, Bob : init Alice -> Bob : hello ref over Bob This can be on several lines end ref @enduml 1.21 Retard Utiliser ensembles en définissant les partitions. @startuml start partition Initialization { :read config file; :init internal variable; } partition Running { :wait for user interaction; :print information; } stop @enduml @startuml !procedure $msg($source, $destination) $source --> $destination !endprocedure !procedure $init_class($name) class $name { $addCommonMethod() } !endprocedure !procedure $addCommonMethod() toString()0 码力 | 385 页 | 4.05 MB | 1 年前3
共 16 条
- 1
- 2














