2020-07-15 09:30:15 +00:00
|
|
|
# coding: utf-8
|
2020-06-30 12:45:36 +00:00
|
|
|
"""
|
|
|
|
Licensed to the Apache Software Foundation (ASF) under one
|
|
|
|
or more contributor license agreements. See the NOTICE file
|
|
|
|
distributed with this work for additional information
|
|
|
|
regarding copyright ownership. The ASF licenses this file
|
|
|
|
to you 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
|
|
|
|
|
2020-07-15 09:30:15 +00:00
|
|
|
http://www.apache.org/licenses/LICENSE-2.0
|
2020-06-30 12:45:36 +00:00
|
|
|
|
|
|
|
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.
|
|
|
|
"""
|
|
|
|
|
|
|
|
|
2020-07-15 09:30:15 +00:00
|
|
|
class SdkStreamRequest:
|
|
|
|
def __init__(self, stream):
|
|
|
|
self._stream = stream
|
2020-06-30 12:45:36 +00:00
|
|
|
|
2020-07-15 09:30:15 +00:00
|
|
|
def get_file_stream(self):
|
|
|
|
return self._stream
|