Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/clips/pattern
/ stream_value
Function
stream_value
pattern/web/pdf/pdftypes.py:139–145 ·
view source on GitHub ↗
(x)
Source
from the content-addressed store, hash-verified
137
return
x
138
139
def
stream_value(x):
140
x = resolve1(x)
141
if
not isinstance(x, PDFStream):
142
if
STRICT:
143
raise
PDFTypeError(
'PDFStream required: %r'
% x)
144
return
PDFStream({},
''
)
145
return
x
146
147
148
## PDFStream type
Callers
7
getobj
Method · 0.90
__init__
Method · 0.90
__init__
Method · 0.90
__init__
Method · 0.90
fillfp
Method · 0.90
get_colorspace
Method · 0.90
do_Do
Method · 0.90
Calls
3
resolve1
Function · 0.85
PDFTypeError
Class · 0.85
PDFStream
Class · 0.85
Tested by
no test coverage detected
Used in the wild
real call sites across dependent graphs
searching dependent graphs…