Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
32 commits
Select commit Hold shift + click to select a range
901d8f1
fix: remove unsupported package.
Jul 25, 2019
39113c3
Update .travis.yml
mariamjamal94 Jul 25, 2019
94e5df0
Update .travis.yml
mariamjamal94 Jul 25, 2019
8687672
Update .travis.yml
mariamjamal94 Jul 25, 2019
520f62c
Update .travis.yml
mariamjamal94 Jul 25, 2019
feb445b
Merge branch 'master' of https://github.com/Mariamjamal32/python-sdk
Jul 29, 2019
ae18085
Merge branch 'master' into mjamal/event_factory
Jul 29, 2019
90e694b
Merge branch 'mjamal/event_factory' of https://github.com/Mariamjamal…
Jul 29, 2019
d73e8cb
fix: resolve issues in _create_visitor class method
Jul 29, 2019
501b9c5
Merge branch 'master' of git://github.com/optimizely/python-sdk
Aug 1, 2019
018fb2d
Merge branch 'master' into mjamal/event_factory
Aug 1, 2019
e81e9a5
feat: add event_processor interface to support batch event processing.
Aug 1, 2019
ad59496
Merge remote-tracking branch 'remotes/upstream/sohail/pr-193' into ba…
Aug 1, 2019
fed4697
Merge branch 'sohail/pr-193' into batch_event_processor
mnoman09 Aug 1, 2019
f36754e
sync batch_event_processor with pr-193.
Aug 1, 2019
9f5f80d
Merge branch 'batch_event_processor' of https://github.com/Mariamjama…
Aug 1, 2019
32494b9
Update event_processor.py
mariamjamal94 Aug 2, 2019
373ef41
update: cater review comments.
Aug 2, 2019
0125d9f
update: review suggestions addressed.
Aug 7, 2019
59c5416
fix: address review comment to add abstract method from ABC in event_…
Aug 8, 2019
5c0632c
update event/event_processor.py
Aug 9, 2019
dce8efb
fix: remove stop and add close method in BatchEventProcessor.
Aug 9, 2019
6aca4ff
fix: reset indentation.
Aug 9, 2019
2d8d947
update BatchEventProcessor.
Aug 9, 2019
9171484
fix: remove stop from test_event_processor.
Aug 9, 2019
d52be4f
fix: logger level.
Aug 15, 2019
f55d6cf
update: fallback to defaults for invalid and negative values BatchEve…
Aug 16, 2019
3e55e2e
fix: linter error.
Aug 16, 2019
3154499
update: review suggestion catered.
Aug 16, 2019
06b5c25
update: import convention.
Aug 16, 2019
aab5ab4
update: remove uncertain log tests.
Aug 16, 2019
f4c23b1
update: handle 0ms flush_interval condition.
Aug 16, 2019
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix: remove stop and add close method in BatchEventProcessor.
  • Loading branch information
[email protected] authored and [email protected] committed Aug 9, 2019
commit dce8efb9f8e93decca359163e77d76c402bb1259
25 changes: 25 additions & 0 deletions optimizely/closeable.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# Copyright 2019 Optimizely
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

import abc

ABC = abc.ABCMeta('ABC', (object,), {'__slots__': ()})


class Closeable(object):
""" Class encapsulating closing functionality. Override with your own implementation
for close method. """

@abc.abstractmethod
def close(self):
pass
Loading