Skip to content

Commit cc1bfdf

Browse files
author
Daniel Kopka
committed
[SYNPYTH-7] wip
1 parent 379141f commit cc1bfdf

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

docs/source/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444
# language = None
4545
# today = ''
4646
# today_fmt = '%B %d, %Y'
47-
exclude_patterns = ['_build', '**tests**', 'build']
47+
exclude_patterns = ['_build', '**tests**', 'build', 'setup.py', 'run_it.py']
4848
# default_role = None
4949
add_function_parentheses = True
5050
add_module_names = False

syncano/models/manager.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,12 @@ def create(self, **kwargs):
134134
return instance
135135

136136
def bulk_create(self, objects):
137-
"""Creates many new instances based on provided list of objects."""
137+
"""
138+
Creates many new instances based on provided list of objects.
139+
140+
.. warning::
141+
This method is not meant to be used with large datasets.
142+
"""
138143
return [self.create(**o) for o in objects]
139144

140145
@clone

0 commit comments

Comments
 (0)