Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(2)  |  Call(0)  |  Derive(0)  |  Import(2)
str(object='') -> string

Return a nice string representation of the object.
If the argument is a string, the return value is the same object.

src/d/o/dougrain-0.5.1/dougrain/document.py   dougrain(Download)
import dougrain.curie as curie
from .drafts import AUTO
from .drafts import LINKS_KEY
from .drafts import EMBEDDED_KEY
 
        self.draft = draft.detect(o)
 
    RESERVED_ATTRIBUTE_NAMES = (LINKS_KEY, EMBEDDED_KEY)
 
    def properties_cache(self):
    def links_cache(self):
        links = {}
 
        links_json = self.o.get(LINKS_KEY, {})
 
            link = self.link(target, **kwargs)
 
        links = self.o.setdefault(LINKS_KEY, {})
 
        new_link = link.as_object()
 
        """
        if not LINKS_KEY in self.o:
            return
 

src/d/o/dougrain-HEAD/dougrain/document.py   dougrain(Download)
import dougrain.curie as curie
from .drafts import AUTO
from .drafts import LINKS_KEY
from .drafts import EMBEDDED_KEY
 
        self.draft = draft.detect(o)
 
    RESERVED_ATTRIBUTE_NAMES = (LINKS_KEY, EMBEDDED_KEY)
 
    def properties_cache(self):
    def links_cache(self):
        links = {}
 
        links_json = self.o.get(LINKS_KEY, {})
 
            link = self.link(target, **kwargs)
 
        links = self.o.setdefault(LINKS_KEY, {})
 
        new_link = link.as_object()
 
        """
        if not LINKS_KEY in self.o:
            return