Skip to content

Instantly share code, notes, and snippets.

View michaelbironneau's full-sized avatar

Michael Bironneau michaelbironneau

  • learnd
  • Leek, UK
View GitHub Profile
{
"entities": [{
"updated_at": "2016-10-31T17:04:25.5230648",
"code": "S1",
"type": "Site",
"name": "Northcheam",
"service_parent": null,
"asset_parent": "C1"
}, {
"updated_at": "2016-10-31T17:04:25.9918222",
@michaelbironneau
michaelbironneau / entities.json
Last active December 1, 2016 15:16
Entities API Response
{
"entities": [{
"updated_at": "2016-10-31T17:04:24.523045",
"code": "C1",
"type": "Client",
"name": "J Sainsbury",
"service_parent": null,
"asset_parent": "OE1",
"tags": "https://gist.githubusercontent.com/michaelbironneau/c74f79b983ca809a61bf4a0b05f3b3cf/raw/506dadc937cd6c029b68aaebee7d5cdb7c8210a9/c1_tags.json",
"asset_children": "https://gist.githubusercontent.com/michaelbironneau/d447df889a1e1ce46d1da17adcba58ed/raw/f13fb65fc8211fd5a5fdb5a8a32c2e70d458bc65/c1_children.json",
"""
Syntactic sugar to parallelize loops.
:author: Michael Bironneau <michael.bironneau@openenergi.com>
:date: 2014-10-29
Example::
@distribute_over(range(10))
def get_squares(i):