Skip to content

Commit d72072f

Browse files
authored
[Validate: v0.12.1] Remove the log statement warning of an un-implemented standard function (#307)
* Remove the log statement warning of an un-implemented standard function * Bump version and changelog
1 parent 9a09a1e commit d72072f

File tree

3 files changed

+8
-10
lines changed

3 files changed

+8
-10
lines changed

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,12 @@ All notable changes to the [Nucleus Python Client](https://github.com/scaleapi/n
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

8+
## [0.12.1](https://github.com/scaleapi/nucleus-python-client/releases/tag/v0.12.1) - 2022-06-02
9+
10+
### Added
11+
12+
- Suppress warning statement when un-implemented standard configs found
13+
814
## [0.12.0](https://github.com/scaleapi/nucleus-python-client/releases/tag/v0.12.0) - 2022-05-27
915

1016
### Added

nucleus/validate/eval_functions/available_eval_functions.py

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
import itertools
22
from typing import Callable, Dict, List, Optional, Union
33

4-
from nucleus.logger import logger
54
from nucleus.validate.eval_functions.base_eval_function import (
65
EvalFunctionConfig,
76
)
@@ -1149,13 +1148,6 @@ class StandardEvalFunction(EvalFunctionConfig):
11491148
AvailableEvalFunctions yet.
11501149
"""
11511150

1152-
def __init__(self, eval_function_entry: EvalFunctionEntry):
1153-
logger.warning(
1154-
"Standard function %s not implemented as an attribute on AvailableEvalFunctions",
1155-
eval_function_entry.name,
1156-
)
1157-
super().__init__(eval_function_entry)
1158-
11591151
@classmethod
11601152
def expected_name(cls) -> str:
11611153
return "public_function" # Placeholder: See super().eval_func_entry for actual name

pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ exclude = '''
2121

2222
[tool.poetry]
2323
name = "scale-nucleus"
24-
version = "0.12.0"
24+
version = "0.12.1"
2525
description = "The official Python client library for Nucleus, the Data Platform for AI"
2626
license = "MIT"
2727
authors = ["Scale AI Nucleus Team <nucleusapi@scaleapi.com>"]
@@ -53,7 +53,7 @@ scale-launch = { git = "https://github.com/scaleapi/launch-python-client.git", p
5353

5454
[tool.poetry.dev-dependencies]
5555
pytest = [
56-
{ version = ">=6.2.3", python = ">=3.6.2,<3.7" },
56+
{ version = ">=6.2.3", python = ">=3.6.2,<3.7" },
5757
{ version = ">=7.1.1", python = ">=3.7,<4.0" }
5858
]
5959
pylint = "^2.7.4"

0 commit comments

Comments
 (0)