If you don't have the latest and greatest Python install it from Python.org
In a terminal:
chord( | |
list(index_all_cases(index_name, cluster)) +\ | |
list(index_all_patents(index_name, cluster)) +\ | |
list(index_all_law_firms(index_name, cluster)) +\ | |
list(index_all_attorneys(index_name, cluster)) +\ | |
list(index_all_cpcs(index_name, cluster)), | |
)(switch_to_running_index_settings.s(index_name=index_name, cluster=cluster) |\ | |
cleanup_old_indexes.s(by_date=True, prefix=prefix, cluster=cluster)) |
If you don't have the latest and greatest Python install it from Python.org
In a terminal:
/* | |
* Bootstrap v2.3.2 | |
* | |
* Copyright 2012 Twitter, Inc | |
* Licensed under the Apache License v2.0 | |
* http://www.apache.org/licenses/LICENSE-2.0 | |
* | |
* Designed and built with all the love in the world @twitter by @mdo and @fat. | |
*/ | |
/* line 19, ../../../sass/bootstrap/_reset.scss */ |
{ | |
"pagination": [{ | |
"url": "#", | |
"name": "Prev", | |
"class": "disabled" | |
}, { | |
"url": "#", | |
"name": 1, | |
"class": "active" | |
}, { |
from sqlalchemy.sql.expression import ColumnElement, _literal_as_text | |
from sqlalchemy.ext.compiler import compiles | |
from sqlalchemy.dialects.postgresql import ARRAY | |
class StaticArray(sa.types.TypeDecorator): | |
impl = sa.types.TypeEngine | |
def __init__(self): | |
super(StaticArray, self).__init__() | |
import sqlalchemy.dialects.postgresql.base as pg |
{ | |
"@context": | |
{ | |
"@base": "http://lexmachina.com/data/case/", | |
"bare_civil_action_number": "pacer:cv", | |
"docket_entries": "pacer:docketEntry", | |
"documents": "pacer:document", | |
"filed_on": { | |
"@id": "pacer:filed", | |
"@type": "xsd:date" |
{ | |
"@context": | |
{ | |
"bare_civil_action_number": "pacer:cv", | |
"docket_entries": "pacer:docketEntry", | |
"documents": "pacer:document", | |
"filed_on": { | |
"@id": "pacer:filed", | |
"@type": "xsd:date" | |
}, |
base_urls = { | |
None: "http://lexmachina.com/data/case/", | |
"judges": "http://lexmachina.com/data/fjc-judge/", | |
"court": "http://lexmachina.com/data/court/", | |
"tags": "http://lexmachina.com/vocab/tags#", | |
"docket_entries": "http://lexmachina.com/data/docket-entry/", | |
"documents": "http://lexmachina.com/data/documents/", | |
} | |
def walk(node, context=None): | |
for key, item in node.items(): |
{ | |
"@context": { | |
"bare_civil_action_number": "pacer:cv", | |
"docket_entries": "pacer:docketEntry", | |
"documents": "pacer:document", | |
"filed_on": { | |
"@id": "pacer:filed", | |
"@type": "xsd:date" | |
}, | |
"judges": "pacer:presiding", |
{ | |
"@context": { | |
"@base": "http://lexmachina.com/data/case/", | |
"pacer": "http://lexmachina.com/vocab/pacer#", | |
"xsd": "http://www.w3.org/2001/XMLSchema#", | |
"id": "@id", | |
"title": "pacer:title", | |
"bare_civil_action_number": "pacer:cv", | |
"filed_on": { | |
"@id": "pacer:filed", |