-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
* #188 Migrate imports * #188 Migrate imports * #188 Migrate imports * #188 Update requirements * Force re-test * Force re-test * #1 Force re-test * #188 Force re-test * #188 Update version
- Loading branch information
Showing
79 changed files
with
348 additions
and
433 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,16 @@ | ||
#! /usr/bin/env python3 | ||
|
||
import grpc | ||
from senzing import SzError | ||
|
||
from senzing_grpc import SzAbstractFactory, SzAbstractFactoryParameters, SzError | ||
from senzing_grpc import SzAbstractFactoryGrpc, SzAbstractFactoryParametersGrpc | ||
|
||
FACTORY_PARAMETERS: SzAbstractFactoryParameters = { | ||
FACTORY_PARAMETERS: SzAbstractFactoryParametersGrpc = { | ||
"grpc_channel": grpc.insecure_channel("localhost:8261"), | ||
} | ||
|
||
try: | ||
sz_abstract_factory = SzAbstractFactory(**FACTORY_PARAMETERS) | ||
sz_abstract_factory = SzAbstractFactoryGrpc(**FACTORY_PARAMETERS) | ||
sz_config = sz_abstract_factory.create_config() | ||
except SzError as err: | ||
print(f"\nFile {__file__}:\nError:\n{err}\n") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,16 @@ | ||
#! /usr/bin/env python3 | ||
|
||
import grpc | ||
from senzing import SzError | ||
|
||
from senzing_grpc import SzAbstractFactory, SzAbstractFactoryParameters, SzError | ||
from senzing_grpc import SzAbstractFactoryGrpc, SzAbstractFactoryParametersGrpc | ||
|
||
FACTORY_PARAMETERS: SzAbstractFactoryParameters = { | ||
FACTORY_PARAMETERS: SzAbstractFactoryParametersGrpc = { | ||
"grpc_channel": grpc.insecure_channel("localhost:8261"), | ||
} | ||
|
||
try: | ||
sz_abstract_factory = SzAbstractFactory(**FACTORY_PARAMETERS) | ||
sz_abstract_factory = SzAbstractFactoryGrpc(**FACTORY_PARAMETERS) | ||
sz_configmanager = sz_abstract_factory.create_configmanager() | ||
except SzError as err: | ||
print(f"\nFile {__file__}:\nError:\n{err}\n") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,16 @@ | ||
#! /usr/bin/env python3 | ||
|
||
import grpc | ||
from senzing import SzError | ||
|
||
from senzing_grpc import SzAbstractFactory, SzAbstractFactoryParameters, SzError | ||
from senzing_grpc import SzAbstractFactoryGrpc, SzAbstractFactoryParametersGrpc | ||
|
||
FACTORY_PARAMETERS: SzAbstractFactoryParameters = { | ||
FACTORY_PARAMETERS: SzAbstractFactoryParametersGrpc = { | ||
"grpc_channel": grpc.insecure_channel("localhost:8261"), | ||
} | ||
|
||
try: | ||
sz_abstract_factory = SzAbstractFactory(**FACTORY_PARAMETERS) | ||
sz_abstract_factory = SzAbstractFactoryGrpc(**FACTORY_PARAMETERS) | ||
sz_diagnostic = sz_abstract_factory.create_diagnostic() | ||
except SzError as err: | ||
print(f"\nFile {__file__}:\nError:\n{err}\n") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,16 @@ | ||
#! /usr/bin/env python3 | ||
|
||
import grpc | ||
from senzing import SzError | ||
|
||
from senzing_grpc import SzAbstractFactory, SzAbstractFactoryParameters, SzError | ||
from senzing_grpc import SzAbstractFactoryGrpc, SzAbstractFactoryParametersGrpc | ||
|
||
FACTORY_PARAMETERS: SzAbstractFactoryParameters = { | ||
FACTORY_PARAMETERS: SzAbstractFactoryParametersGrpc = { | ||
"grpc_channel": grpc.insecure_channel("localhost:8261"), | ||
} | ||
|
||
try: | ||
sz_abstract_factory = SzAbstractFactory(**FACTORY_PARAMETERS) | ||
sz_abstract_factory = SzAbstractFactoryGrpc(**FACTORY_PARAMETERS) | ||
sz_engine = sz_abstract_factory.create_engine() | ||
except SzError as err: | ||
print(f"\nFile {__file__}:\nError:\n{err}\n") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,16 @@ | ||
#! /usr/bin/env python3 | ||
|
||
import grpc | ||
from senzing import SzError | ||
|
||
from senzing_grpc import SzAbstractFactory, SzAbstractFactoryParameters, SzError | ||
from senzing_grpc import SzAbstractFactoryGrpc, SzAbstractFactoryParametersGrpc | ||
|
||
FACTORY_PARAMETERS: SzAbstractFactoryParameters = { | ||
FACTORY_PARAMETERS: SzAbstractFactoryParametersGrpc = { | ||
"grpc_channel": grpc.insecure_channel("localhost:8261"), | ||
} | ||
|
||
try: | ||
sz_abstract_factory = SzAbstractFactory(**FACTORY_PARAMETERS) | ||
sz_abstract_factory = SzAbstractFactoryGrpc(**FACTORY_PARAMETERS) | ||
sz_product = sz_abstract_factory.create_product() | ||
except SzError as err: | ||
print(f"\nFile {__file__}:\nError:\n{err}\n") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,15 @@ | ||
#! /usr/bin/env python3 | ||
|
||
import grpc | ||
from senzing import SzError | ||
|
||
from senzing_grpc import SzAbstractFactory, SzAbstractFactoryParameters, SzError | ||
from senzing_grpc import SzAbstractFactoryGrpc, SzAbstractFactoryParametersGrpc | ||
|
||
FACTORY_PARAMETERS: SzAbstractFactoryParameters = { | ||
FACTORY_PARAMETERS: SzAbstractFactoryParametersGrpc = { | ||
"grpc_channel": grpc.insecure_channel("localhost:8261"), | ||
} | ||
|
||
try: | ||
sz_abstract_factory = SzAbstractFactory(**FACTORY_PARAMETERS) | ||
sz_abstract_factory = SzAbstractFactoryGrpc(**FACTORY_PARAMETERS) | ||
except SzError as err: | ||
print(f"\nFile {__file__}:\nError:\n{err}\n") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.