MCPcopy Index your code
hub / github.com/visgl/deck.gl / String

Class String

bindings/pydeck/pydeck/types/string.py:7–27  ·  view source on GitHub ↗

Indicate a string value in pydeck Parameters ---------- value : str Value of the string

Source from the content-addressed store, hash-verified

5
6@total_ordering
7class String(PydeckType):
8 """Indicate a string value in pydeck
9
10 Parameters
11 ----------
12
13 value : str
14 Value of the string
15 """
16
17 def __init__(self, s: str, quote_type: str = ""):
18 self.value = f"{quote_type}{s}{quote_type}"
19
20 def __lt__(self, other):
21 return str(self) < str(other)
22
23 def __eq__(self, other):
24 return str(self) == str(other)
25
26 def __repr__(self):
27 return self.value

Callers 15

test_basic_caseFunction · 0.90
test_quotesFunction · 0.90
text_layer.pyFile · 0.90
__repr__Method · 0.90
toTextFunction · 0.85
makeAltPropTestCaseFunction · 0.85
parsePositionFunction · 0.85
setNeedsUpdateFunction · 0.85
getURLFromTemplateFunction · 0.85
sortBinsFunction · 0.85
onRenderHTMLMethod · 0.85

Calls

no outgoing calls

Tested by 2

test_basic_caseFunction · 0.72
test_quotesFunction · 0.72

Used in the wild real call sites across dependent graphs

searching dependent graphs…