Falcon v1.4.1 DocumentationChapter 5. Documentation Falcon Documentation, Release 1.4.1.post-1 (continued from previous page) # create a custom class that inherits from falcon.Request. This # class could, for example, have an additional First Steps The first thing we’ll do is install Falcon inside a fresh virtualenv. To that end, let’s create a new project folder called “look”, and set up a virtual environment within it that we can use for so let’s create another “look” folder inside the first one and mark it as a python module by creating an empty __init__.py file in it: $ mkdir look $ touch look/__init__.py Next, let’s create a new file0 码力 | 158 页 | 587.88 KB | 1 年前3
Falcon v1.4.0 Documentation'Service Outage', description, 30) # An alternative way of doing DRY serialization would be to # create a custom class that inherits from falcon.Request. This # class could, for example, have an additional First Steps The first thing we’ll do is install Falcon inside a fresh virtualenv. To that end, let’s create a new project folder called “look”, and set up a virtual environment within it that we can use for so let’s create another “look” folder inside the first one and mark it as a python module by creating an empty __init__.py file in it: $ mkdir look $ touch look/__init__.py Next, let’s create a new file0 码力 | 156 页 | 573.94 KB | 1 年前3
Falcon v1.4.1 Documentation'Service Outage', description, 30) # An alternative way of doing DRY serialization would be to # create a custom class that inherits from falcon.Request. This # class could, for example, have an additional First Steps The first thing we’ll do is install Falcon inside a fresh virtualenv. To that end, let’s create a new project folder called “look”, and set up a virtual environment within it that we can use for so let’s create another “look” folder inside the first one and mark it as a python module by creating an empty __init__.py file in it: $ mkdir look $ touch look/__init__.py Next, let’s create a new file0 码力 | 156 页 | 574.46 KB | 1 年前3
Falcon v1.4.1-post-1 Documentation30) # An alternative way of doing DRY serialization would be to # create a custom class that inherits from falcon.Request. This # class could, for example, have an fresh virtualenv [http://docs.python- guide.org/en/latest/dev/virtualenvs/]. To that end, let’s create a new project folder called “look”, and set up a virtual environment within it that we can use for so let’s create another “look” folder inside the first one and mark it as a python module by creating an empty __init__.py file in it: $ mkdir look $ touch look/__init__.py Next, let’s create a new file0 码力 | 229 页 | 273.39 KB | 1 年前3
Falcon v1.4.0 Documentation30) # An alternative way of doing DRY serialization would be to # create a custom class that inherits from falcon.Request. This # class could, for example, have an fresh virtualenv [http://docs.python- guide.org/en/latest/dev/virtualenvs/]. To that end, let’s create a new project folder called “look”, and set up a virtual environment within it that we can use for so let’s create another “look” folder inside the first one and mark it as a python module by creating an empty __init__.py file in it: $ mkdir look $ touch look/__init__.py Next, let’s create a new file0 码力 | 230 页 | 271.65 KB | 1 年前3
Falcon v1.4.1 Documentation30) # An alternative way of doing DRY serialization would be to # create a custom class that inherits from falcon.Request. This # class could, for example, have an fresh virtualenv [http://docs.python- guide.org/en/latest/dev/virtualenvs/]. To that end, let’s create a new project folder called “look”, and set up a virtual environment within it that we can use for so let’s create another “look” folder inside the first one and mark it as a python module by creating an empty __init__.py file in it: $ mkdir look $ touch look/__init__.py Next, let’s create a new file0 码力 | 231 页 | 272.52 KB | 1 年前3
Falcon v2.0.0 Documentation'Service Outage', description, 30) # An alternative way of doing DRY serialization would be to # create a custom class that inherits from falcon.Request. This # class could, for example, have an additional First Steps The first thing we’ll do is install Falcon inside a fresh virtualenv. To that end, let’s create a new project folder called “look”, and set up a virtual environment within it that we can use for so let’s create another “look” folder inside the first one and mark it as a python module by creating an empty __init__.py file in it: $ mkdir look $ touch look/__init__.py Next, let’s create a new file0 码力 | 184 页 | 671.87 KB | 1 年前3
Falcon v2.0.0 Documentation30) # An alternative way of doing DRY serialization would be to # create a custom class that inherits from falcon.Request. This # class could, for example, have an fresh virtualenv [http://docs.python- guide.org/en/latest/dev/virtualenvs/]. To that end, let’s create a new project folder called “look”, and set up a virtual environment within it that we can use for so let’s create another “look” folder inside the first one and mark it as a python module by creating an empty __init__.py file in it: $ mkdir look $ touch look/__init__.py Next, let’s create a new file0 码力 | 265 页 | 299.57 KB | 1 年前3
Falcon v3.0.0 DocumentationFirst Steps The first thing we’ll do is install Falcon inside a fresh virtualenv. To that end, let’s create a new project folder called “look”, and set up a virtual environment within it that we can use for so let’s create another “look” folder inside the first one and mark it as a python module by creating an empty __init__.py file in it: $ mkdir look $ touch look/__init__.py Next, let’s create a new file resource. Since we are building an image-sharing API, let’s start by creating an “images” resource. Create a new module, images.py next to app.py, and add the following code to it: import json import falcon0 码力 | 344 页 | 1.16 MB | 1 年前3
Falcon v3.0.1 DocumentationFirst Steps The first thing we’ll do is install Falcon inside a fresh virtualenv. To that end, let’s create a new project folder called “look”, and set up a virtual environment within it that we can use for so let’s create another “look” folder inside the first one and mark it as a python module by creating an empty __init__.py file in it: $ mkdir look $ touch look/__init__.py Next, let’s create a new file resource. Since we are building an image-sharing API, let’s start by creating an “images” resource. Create a new module, images.py next to app.py, and add the following code to it: import json import falcon0 码力 | 344 页 | 1.16 MB | 1 年前3
共 40 条
- 1
- 2
- 3
- 4













