peewee Documentation Release 2.10.2
process_request(self, req, resp): database.connect() def process_response(self, req, resp, resource): if not database.is_closed(): database.close() application = falcon.API(middleware=[ d in multi-threaded environments. Built-in replication and hot backup. Fewer system calls, less resource utilization. Multi-version concurrency control. For more details, Oracle has published a short JSONField() class Meta: database = db Example of storing JSON data: url = 'http://foo.com/api/resource/' resp = json.loads(urllib2.urlopen(url).read()) APIResponse.create(url=url, response=resp) APIResponse0 码力 | 275 页 | 276.96 KB | 1 年前3peewee Documentation Release 2.10.2
def process_request(self, req, resp): database.connect() def process_response(self, req, resp, resource): if not database.is_closed(): database.close() application = falcon.API(middleware=[ PeeweeC multi-threaded environments. • Built-in replication and hot backup. • Fewer system calls, less resource utilization. • Multi-version concurrency control. For more details, Oracle has published a short JSONField() class Meta: database = db Example of storing JSON data: url = 'http://foo.com/api/resource/' resp = json.loads(urllib2.urlopen(url).read()) APIResponse.create(url=url, response=resp) APIResponse0 码力 | 221 页 | 844.06 KB | 1 年前3peewee Documentation Release 3.0.0
process_request(self, req, resp): database.connect() def process_response(self, req, resp, resource): if not database.is_closed(): database.close() application = falcon.API(middleware=[ JSONField() class Meta: database = db Example of storing JSON data: url = 'http://foo.com/api/resource/' resp = json.loads(urllib2.urlopen(url).read()) APIResponse.create(url=url, response=resp) APIResponse0 码力 | 319 页 | 361.50 KB | 1 年前3peewee Documentation Release 3.5.0
process_request(self, req, resp): database.connect() def process_response(self, req, resp, resource): if not database.is_closed(): database.close() application = falcon.API(middleware=[ JSONField() class Meta: database = db Example of storing JSON data: url = 'http://foo.com/api/resource/' resp = json.loads(urllib2.urlopen(url).read()) APIResponse.create(url=url, response=resp) APIResponse0 码力 | 347 页 | 380.80 KB | 1 年前3peewee Documentation Release 3.4.0
process_request(self, req, resp): database.connect() def process_response(self, req, resp, resource): if not database.is_closed(): database.close() application = falcon.API(middleware=[ JSONField() class Meta: database = db Example of storing JSON data: url = 'http://foo.com/api/resource/' resp = json.loads(urllib2.urlopen(url).read()) APIResponse.create(url=url, response=resp) APIResponse0 码力 | 349 页 | 382.34 KB | 1 年前3peewee Documentation Release 3.1.0
process_request(self, req, resp): database.connect() def process_response(self, req, resp, resource): if not database.is_closed(): database.close() application = falcon.API(middleware=[ JSONField() class Meta: database = db Example of storing JSON data: url = 'http://foo.com/api/resource/' resp = json.loads(urllib2.urlopen(url).read()) APIResponse.create(url=url, response=resp) APIResponse0 码力 | 332 页 | 370.77 KB | 1 年前3peewee Documentation Release 3.5.0
def process_request(self, req, resp): database.connect() def process_response(self, req, resp, resource): if not database.is_closed(): database.close() application = falcon.API(middleware=[ PeeweeC JSONField() class Meta: database = db Example of storing JSON data: url = 'http://foo.com/api/resource/' resp = json.loads(urllib2.urlopen(url).read()) APIResponse.create(url=url, response=resp) APIResponse0 码力 | 282 页 | 1.02 MB | 1 年前3peewee Documentation Release 3.3.0
def process_request(self, req, resp): database.connect() def process_response(self, req, resp, resource): if not database.is_closed(): database.close() application = falcon.API(middleware=[ PeeweeC JSONField() class Meta: database = db Example of storing JSON data: url = 'http://foo.com/api/resource/' resp = json.loads(urllib2.urlopen(url).read()) APIResponse.create(url=url, response=resp) APIResponse0 码力 | 280 页 | 1.02 MB | 1 年前3peewee Documentation Release 3.4.0
def process_request(self, req, resp): database.connect() def process_response(self, req, resp, resource): if not database.is_closed(): database.close() application = falcon.API(middleware=[ PeeweeC JSONField() class Meta: database = db Example of storing JSON data: url = 'http://foo.com/api/resource/' resp = json.loads(urllib2.urlopen(url).read()) APIResponse.create(url=url, response=resp) APIResponse0 码力 | 284 页 | 1.03 MB | 1 年前3peewee Documentation Release 3.6.0
process_request(self, req, resp): database.connect() def process_response(self, req, resp, resource): if not database.is_closed(): database.close() application = falcon.API(middleware=[ JSONField() class Meta: database = db Example of storing JSON data: url = 'http://foo.com/api/resource/' resp = json.loads(urllib2.urlopen(url).read()) APIResponse.create(url=url, response=resp) APIResponse0 码力 | 377 页 | 399.12 KB | 1 年前3
共 11 条
- 1
- 2