1a91365cc8
* fix: callables can be deserialized from fully qualified import path * fix: license header * fix: format * fix: types * fix? types * test: extend test case * format * add release notes
11 lines
255 B
Python
11 lines
255 B
Python
# SPDX-FileCopyrightText: 2022-present deepset GmbH <info@deepset.ai>
|
|
#
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
|
|
def callable_to_deserialize(hello: str) -> str:
|
|
"""
|
|
A function to test callable deserialization.
|
|
"""
|
|
return f"{hello}, world!"
|