Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
beat.backend.python
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
beat
beat.backend.python
Commits
f6a3be99
There was a problem fetching the pipeline summary.
Commit
f6a3be99
authored
7 years ago
by
Samuel GAIST
Browse files
Options
Downloads
Patches
Plain Diff
[documentation] Change Prefix to string in documentation of various classes
parent
8b2f3767
Branches
Branches containing commit
Tags
Tags containing commit
1 merge request
!17
Merge development branch 1.5.x
Pipeline
#
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
beat/backend/python/data.py
+4
-7
4 additions, 7 deletions
beat/backend/python/data.py
beat/backend/python/dbexecution.py
+1
-2
1 addition, 2 deletions
beat/backend/python/dbexecution.py
with
5 additions
and
9 deletions
beat/backend/python/data.py
+
4
−
7
View file @
f6a3be99
...
@@ -334,8 +334,7 @@ class CachedDataSource(DataSource):
...
@@ -334,8 +334,7 @@ class CachedDataSource(DataSource):
filename (str): Name of the file to read the data from
filename (str): Name of the file to read the data from
prefix (beat.backend.python.utils.Prefix): Establishes the prefix of
prefix (str): Establishes the prefix of your installation.
your installation.
start_index (int): The starting index (if not set or set to
start_index (int): The starting index (if not set or set to
``None``, the default, read data from the begin of file)
``None``, the default, read data from the begin of file)
...
@@ -522,8 +521,7 @@ class DatabaseOutputDataSource(DataSource):
...
@@ -522,8 +521,7 @@ class DatabaseOutputDataSource(DataSource):
Parameters:
Parameters:
prefix (beat.backend.python.utils.Prefix): Establishes the prefix of
prefix (str): Establishes the prefix of your installation.
your installation.
start_index (int): The starting index (if not set or set to
start_index (int): The starting index (if not set or set to
``None``, the default, read data from the begin of file)
``None``, the default, read data from the begin of file)
...
@@ -612,7 +610,7 @@ class DatabaseOutputDataSource(DataSource):
...
@@ -612,7 +610,7 @@ class DatabaseOutputDataSource(DataSource):
d
.
from_dict
(
data
,
casting
=
'
safe
'
,
add_defaults
=
False
)
d
.
from_dict
(
data
,
casting
=
'
safe
'
,
add_defaults
=
False
)
data
=
d
data
=
d
if
self
.
pack
:
if
self
.
pack
:
data
=
data
.
pack
()
data
=
data
.
pack
()
self
.
nb_bytes_read
+=
len
(
data
)
self
.
nb_bytes_read
+=
len
(
data
)
...
@@ -646,8 +644,7 @@ class RemoteDataSource(DataSource):
...
@@ -646,8 +644,7 @@ class RemoteDataSource(DataSource):
dataformat_name (str): Name of the data format.
dataformat_name (str): Name of the data format.
prefix (beat.backend.python.utils.Prefix): Establishes the prefix of
prefix (str): Establishes the prefix of your installation.
your installation.
unpack (bool): Indicates if the data must be unpacked or not
unpack (bool): Indicates if the data must be unpacked or not
...
...
This diff is collapsed.
Click to expand it.
beat/backend/python/dbexecution.py
+
1
−
2
View file @
f6a3be99
...
@@ -46,8 +46,7 @@ class DBExecutor(object):
...
@@ -46,8 +46,7 @@ class DBExecutor(object):
Parameters:
Parameters:
prefix (beat.backend.python.utils.Prefix): Establishes the prefix of
prefix (str): Establishes the prefix of your installation.
your installation.
data (dict, str): The piece of data representing the block to be executed.
data (dict, str): The piece of data representing the block to be executed.
It must validate against the schema defined for execution blocks. If a
It must validate against the schema defined for execution blocks. If a
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment