Skip to content

Commit ad549fc

Browse files
authored
Merge pull request #200 from poissoncorp/RDBC-768
RDBC-768 Python client - Commands
2 parents a4fc485 + 5471491 commit ad549fc

File tree

57 files changed

+1762
-834
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

57 files changed

+1762
-834
lines changed

ravendb/__init__.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,10 @@
2626
AutoIndexDefinition,
2727
AutoIndexFieldOptions,
2828
)
29-
from ravendb.documents.indexes.index_creation import AbstractIndexDefinitionBuilder, AbstractIndexCreationTask
29+
from ravendb.documents.indexes.abstract_index_creation_tasks import (
30+
AbstractIndexDefinitionBuilder,
31+
AbstractIndexCreationTask,
32+
)
3033
from ravendb.documents.indexes.spatial.configuration import AutoSpatialOptions
3134
from ravendb.documents.operations.attachments import (
3235
DeleteAttachmentOperation,

ravendb/documents/commands/subscriptions.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ def __init__(
7575
@classmethod
7676
def from_json(cls, json_dict: Dict) -> TcpConnectionInfo:
7777
return TcpConnectionInfo(
78-
json_dict.get("Port", None),
78+
json_dict.get("Port", None) or 0,
7979
json_dict.get("Url", None),
8080
json_dict.get("Certificate", None),
8181
json_dict.get("Urls", None),

0 commit comments

Comments
 (0)