Skip to content

Commit 862505a

Browse files
authored
Merge pull request #18 from gridnevvvit/fix-examples
fix examples
2 parents c47b488 + 979b8db commit 862505a

File tree

7 files changed

+7
-10
lines changed

7 files changed

+7
-10
lines changed

examples/basic_example_v1/__main__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# -*- coding: utf-8 -*-
22
import argparse
3-
from . import basic_example
3+
import basic_example
44
import logging
55

66

examples/basic_example_v1/basic_example.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
import os
33

44
import ydb
5-
from . import basic_example_data
5+
import basic_example_data
66

77
FillDataQuery = """PRAGMA TablePathPrefix("{}");
88

examples/pagination/__main__.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
# -*- coding: utf-8 -*-
22
import argparse
33
import os
4-
5-
from . import pagination
4+
import pagination
65

76

87
if __name__ == "__main__":

examples/pagination/pagination.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
import ydb
66
from concurrent.futures import TimeoutError
7-
from . import sample_data
7+
import sample_data
88

99

1010
class SchoolsPaginated(object):

examples/secondary_indexes_builtin/__main__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# -*- coding: utf-8 -*-
22
import argparse
3-
from . import secondary_indexes_builtin
3+
import secondary_indexes_builtin
44
import logging
55

66
INTERESTING_TARGETS = [

examples/ttl/__main__.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
# -*- coding: utf-8 -*-
22
import argparse
3-
4-
from . import ttl
3+
import ttl
54

65

76
if __name__ == "__main__":

examples/ttl_readtable/__main__.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
# -*- coding: utf-8 -*-
22
import argparse
3-
4-
from . import ttl
3+
import ttl
54

65

76
if __name__ == "__main__":

0 commit comments

Comments
 (0)