pyMogwai API Documentation
core
hd_index
Created on 2024-11-07
@author: wf
base on A. Harth and S. Decker, "Optimized index structures for querying RDF from the Web," Third Latin American Web Congress (LA-WEB'2005), Buenos Aires, Argentina, 2005, pp. 10 pp.-, doi: 10.1109/LAWEB.2005.25. keywords: {Resource description framework;Data models;Semantic Web;Indexes;Java;Vocabulary;Database systems;Memory;Indexing;Information retrieval},
Index
A Single index in the SPOG matrix as explained in identified by from/to positions
Source code in mogwai/core/hd_index.py
74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 |
|
name: str
property
Full quad index name based on Harth/Decker SPOG ordering
__init__(from_pos, to_pos)
Parameters:
Name | Type | Description | Default |
---|---|---|---|
from_pos |
str
|
First position (S,P,O,G) |
required |
to_pos |
str
|
Second position (S,P,O,G) |
required |
Source code in mogwai/core/hd_index.py
78 79 80 81 82 83 84 85 86 |
|
add_quad(quad)
Add a quad to this index's lookup using quad positions
Source code in mogwai/core/hd_index.py
94 95 96 97 98 99 100 101 |
|
IndexConfig
dataclass
Configuration of which SPOG indices to use
Source code in mogwai/core/hd_index.py
16 17 18 19 20 |
|
IndexConfigs
Bases: Enum
Standard index configurations
Source code in mogwai/core/hd_index.py
23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 |
|
get_config()
Get the index configuration for this enum value
Source code in mogwai/core/hd_index.py
30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 |
|
Quad
dataclass
A quad of hashable values (Subject-Predicate-Object-Graph)
Source code in mogwai/core/hd_index.py
64 65 66 67 68 69 70 71 |
|
SPOGIndex
all 16 possible indices based on SPOG matrix
see http://harth.org/andreas/ YARS and the paper
Source code in mogwai/core/hd_index.py
104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 |
|
add_quad(quad)
Add quad only to configured active indices
Source code in mogwai/core/hd_index.py
137 138 139 140 |
|
get_lookup(from_pos, to_pos)
Get lookup dict for from->to positions if active
Parameters:
Name | Type | Description | Default |
---|---|---|---|
from_pos |
str
|
From position (S,P,O,G) |
required |
to_pos |
str
|
To position (S,P,O,G) |
required |
Returns: Lookup dict if index active in current config, None otherwise
Source code in mogwai/core/hd_index.py
122 123 124 125 126 127 128 129 130 131 132 133 134 135 |
|
mogwaigraph
MogwaiGraph
Bases: DiGraph
networkx based directed graph see https://networkx.org/documentation/stable/reference/classes/digraph.html
Source code in mogwai/core/mogwaigraph.py
25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 |
|
__init__(incoming_graph_data=None, config=None, **attr)
Initialize a MogwaiGraph with optional data and configuration.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
incoming_graph_data |
Graph data in NetworkX compatible format |
None
|
|
config |
MogwaiGraphConfig
|
Configuration for field names and defaults |
None
|
**attr |
Graph attributes as key=value pairs |
{}
|
Source code in mogwai/core/mogwaigraph.py
31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 |
|
add_edge(*args, **kwargs)
Add an edge with default or explicit label
Source code in mogwai/core/mogwaigraph.py
190 191 192 193 194 195 196 |
|
add_labeled_edge(srcId, destId, edgeLabel, properties=None, **kwargs)
add a labeled edge
Source code in mogwai/core/mogwaigraph.py
149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 |
|
add_labeled_node(label, name, properties=None, node_id=None, **kwargs)
Add a labeled node to the graph.
we can only insert a node by hashable value and as names and ids might occur multiple times we use incremented node ids if no node_id is provided
Parameters:
Name | Type | Description | Default |
---|---|---|---|
label |
Union[set, str]
|
The label or set of labels for the node. |
required |
name |
str
|
The name of the node. |
required |
properties |
dict
|
Additional properties for the node. Defaults to None. |
None
|
node_id |
Optional[int]
|
The ID for the node. If not provided, a new ID will be generated. Defaults to None. |
None
|
kwargs |
further property values |
{}
|
Returns: Any: The ID of the newly added node - will be an integer if node_id was kept as default None
Raises:
Type | Description |
---|---|
MogwaiGraphError
|
If a node with the provided ID already exists in the graph. |
Source code in mogwai/core/mogwaigraph.py
96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 |
|
add_node(*args, **kwargs)
Add a node with default or explicit labels
Source code in mogwai/core/mogwaigraph.py
179 180 181 182 183 184 185 186 187 188 |
|
add_to_index(element_type, subject_id, label, name, properties)
Add labels, name, and properties to the SPOG index for a given subject and element_type
Parameters:
Name | Type | Description | Default |
---|---|---|---|
element_type |
str
|
(str): node or edge |
required |
subject_id |
Hashable
|
The ID of the subject (node or edge). |
required |
label |
set
|
Set of labels for the subject. |
required |
name |
str
|
Name of the subject. |
required |
properties |
dict
|
Dictionary of additional properties to index. |
required |
Source code in mogwai/core/mogwaigraph.py
56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 |
|
crew()
classmethod
create the TheCrew example graph see TinkerFactory.createTheCrew() in https://tinkerpop.apache.org/docs/current/reference/
Source code in mogwai/core/mogwaigraph.py
280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 |
|
draw(outputfile, title='MogwaiGraph', **kwargs)
Draw the graph using graphviz Parameters
outputfile : str
the file to save the graph to
title : str, default 'MogwaiGraph'
the title of the graph
kwargs : dict
additional parameters used to configure the drawing style.
For more details see MogwaiGraphDrawer
Source code in mogwai/core/mogwaigraph.py
241 242 243 244 245 246 247 248 249 250 251 252 253 254 |
|
get_next_node_id()
get the next node_id
Source code in mogwai/core/mogwaigraph.py
48 49 50 51 52 53 54 |
|
modern(index_config='off')
classmethod
create the modern graph see https://tinkerpop.apache.org/docs/current/tutorials/getting-started/
Source code in mogwai/core/mogwaigraph.py
256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 |
|
MogwaiGraphConfig
dataclass
configuration of a MogwaiGraph
Source code in mogwai/core/mogwaigraph.py
11 12 13 14 15 16 17 18 19 20 21 22 |
|
MogwaiGraphDrawer
helper class to draw MogwaiGraphs
Source code in mogwai/core/mogwaigraph.py
353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 |
|
__init__(g, title, **kwargs)
Parameters
g : MogwaiGraph
the graph to draw
title : str
the title of the graph
kwargs : dict
additional parameters used to configure the drawing style
* fontname : str, default 'arial'
the font to use
* fillcolor : str, default '#ADE1FE'
the fill color of the vertices
* edge_line_width : int, default 3
the width of the edges
* dash_width : int, default 5
number of dashess in the head/properties delimiter
* v_limit : int, default 10
the maximum number of vertices to show
* e_limit : int, default 10
the maximum number of edges to show
* vertex_properties : list, default None
the properties to display for vertices, if None
all properties are shown
* edge_properties : list, default None
the properties to display for edges, if None
all properties are shown
* prog : str, default 'dot'
the layout program to use
Source code in mogwai/core/mogwaigraph.py
358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 |
|
steps
base_steps
branch_steps
filter_steps
HasWithin
Bases: FilterStep
Similar to Has
, but with multiple options for the value
Source code in mogwai/core/steps/filter_steps.py
94 95 96 97 98 99 100 101 102 103 |
|
flatmap_steps
map_steps
modulation_steps
start_steps
statics
add_camel_case_aliases(module_globals)
Add camelCase aliases for all snake_case callables in the module's globals.
Source code in mogwai/core/steps/statics.py
10 11 12 13 14 15 16 17 18 19 20 21 |
|
terminal_steps
traversal
AnonymousTraversal
Bases: Traversal
specialized Traversal
Source code in mogwai/core/traversal.py
726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 |
|
Traversal
see https://tinkerpop.apache.org/javadocs/3.7.3/core/org/apache/tinkerpop/gremlin/process/traversal/Traversal.html A Traversal represents a directed walk over a Graph. This is the base interface for all traversal's, where each extending interface is seen as a domain specific language. For example, GraphTraversal is a domain specific language for traversing a graph using "graph concepts" (e.g. vertices, edges).
A Traversal is evaluated in one of two ways: iterator-based OLTP or GraphComputer-based OLAP. OLTP traversals leverage an iterator and are executed within a single execution environment (e.g. JVM) (with data access allowed to be remote).
OLAP traversals leverage GraphComputer and are executed between multiple execution environments (e.g.JVMs) (and/or cores).
Source code in mogwai/core/traversal.py
17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 |
|
has(*args)
Filter traversers based on whether they have the given properties. * If one argument is given, it is assumed to be a key, and the step checks if a property with that key exists, regardless of its value. * If two arguments are given, it is assumed to be a key and a value, and the step checks if a property with that key exists and has the given value. * If three arguments are given, the first argument is assumed to be a label, and the step checks if a property with the given key and value exists on an element with that label.
Source code in mogwai/core/traversal.py
76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 |
|
traverser
Traverser
see https://tinkerpop.apache.org/javadocs/3.7.3/core/org/apache/tinkerpop/gremlin/process/traversal/Traverser.html
A Traverser represents the current state of an object flowing through a Traversal.
A traverser maintains a reference to the current object, a traverser-local "sack", a traversal-global sideEffect, a bulk count, and a path history.
Different types of traversers can exist depending on the semantics of the traversal and the desire for space/time optimizations of the developer.
Source code in mogwai/core/traverser.py
8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 |
|
decorators
decorators
graph_config
Created on 2024-08-17
@author: wf
GraphConfig
Configuration for a graph in the Examples class
Source code in mogwai/graph_config.py
13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 |
|
GraphConfigs
Manages a collection of GraphConfig instances
Source code in mogwai/graph_config.py
36 37 38 39 40 |
|
graphs
Created on 2024-08-17
@author: wf
Graphs
Manage MogwaiGraphs
Source code in mogwai/graphs.py
16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 |
|
get(name)
Get a graph by name, loading it if necessary
Source code in mogwai/graphs.py
72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 |
|
get_names()
Get a list of available graph names
Source code in mogwai/graphs.py
66 67 68 69 70 |
|
load_examples()
Load all example graphs based on configurations
Source code in mogwai/graphs.py
48 49 50 51 52 53 54 |
|
mogwai_cmd
Created on 2024-08-15
@author: wf
MogwaiCmd
Bases: WebserverCmd
command line handling for nicesprinkler
Source code in mogwai/mogwai_cmd.py
15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 |
|
__init__()
constructor
Source code in mogwai/mogwai_cmd.py
20 21 22 23 24 25 |
|
getArgParser(description, version_msg)
override the default argparser call
Source code in mogwai/mogwai_cmd.py
27 28 29 30 31 32 33 |
|
main(argv=None)
main call
Source code in mogwai/mogwai_cmd.py
36 37 38 39 40 41 42 |
|
parser
excel_converter
filesystem
graphml_converter
graphml_to_mogwaigraph(file, node_label_key, node_name_key, edge_label_key=None, default_node_label='Na', default_edge_label='Na', default_node_name='Na', include_id=False, keep=True)
Converts GraphML file to MogwaiGraph object.
Parameters
file : str
Path to the GraphML file.
node_label_key : str or Callable[[dict],str]
Key to use for the node label. If a string, the value of the key is used as the label.
If a function, it should take a dictionary of node data and return a string.
node_name_key : str or Callable[[dict],str]
Key to use for the node name. If a string, the value of the key is used as the name.
If a function, it should take a dictionary of node data and return a string.
edge_label_key : str or Callable[[dict],str], optional
Key to use for the edge label. If a string, the value of the key is used as the label.
If a function, it should take a dictionary of edge data and return a string.
If None, the node_label_key is used.
default_node_label : str, optional
Default label to use for nodes that do not have a property corresponding to node_label_key
.
default_edge_label : str, optional
Default label to use for edges that do not have a property corresponding to edge_label_key
.
default_node_name : str, optional
Default name to use for nodes that do not have a property corresponding to node_name_key
.
include_id : bool or str, optional
If True, the node id is included in the data dictionary of each node.
If a string, the node id is included in the data dictionary with the given key.
keep : bool, optional
If True, the labels and names are kept as properties in the node data dictionary. If False, they are removed.
Returns
MogwaiGraph The graph object
Source code in mogwai/parser/graphml_converter.py
9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 |
|
pdfgraph
powerpoint_converter
version
Created on 2024-08-15
@author: wf
Version
dataclass
Bases: object
Version handling for pyMogwai
Source code in mogwai/version.py
12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 |
|
web
server
Created on 2024-08-15
@author: wf
MogwaiSolution
Bases: InputWebSolution
the Mogwai solution
Source code in mogwai/web/server.py
69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 |
|
__init__(webserver, client)
Initialize the solution
Parameters:
Name | Type | Description | Default |
---|---|---|---|
webserver |
MogwaiWebServer
|
The webserver instance associated with this context. |
required |
client |
Client
|
The client instance this context is associated with. |
required |
Source code in mogwai/web/server.py
74 75 76 77 78 79 80 81 82 83 84 85 86 87 |
|
authenticated()
Check if the user is authenticated. Returns: True if the user is authenticated, False otherwise.
Source code in mogwai/web/server.py
89 90 91 92 93 94 95 |
|
handle_upload(e)
Handle file upload
Source code in mogwai/web/server.py
198 199 200 201 202 203 204 205 206 207 208 |
|
home()
async
Provide the main content page
Source code in mogwai/web/server.py
115 116 117 |
|
login_ui()
async
login ui
Source code in mogwai/web/server.py
109 110 111 112 113 |
|
on_run_query(query=None)
Run a Gremlin query on the graph
Source code in mogwai/web/server.py
210 211 212 213 214 215 216 217 218 219 220 221 |
|
query_graph()
async
Graph querying page
Source code in mogwai/web/server.py
136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 |
|
setup_menu(detailed=True)
setup the menu
Source code in mogwai/web/server.py
97 98 99 100 101 102 103 104 105 106 107 |
|
MogwaiWebServer
Bases: InputWebserver
Mogwai WebServer
Source code in mogwai/web/server.py
27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 |
|
__init__()
Constructs all the necessary attributes for the WebServer object.
Source code in mogwai/web/server.py
44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 |
|