Dataset Viewer
Auto-converted to Parquet Duplicate
instance_id
stringlengths
13
45
pull_number
int64
7
30.1k
repo
stringclasses
83 values
version
stringclasses
68 values
base_commit
stringlengths
40
40
created_at
stringdate
2013-05-16 18:15:55
2025-01-08 15:12:50
patch
stringlengths
347
35.2k
test_patch
stringlengths
432
113k
non_py_patch
stringlengths
0
18.3k
new_components
listlengths
0
40
FAIL_TO_PASS
listlengths
1
2.53k
PASS_TO_PASS
listlengths
0
1.7k
problem_statement
stringlengths
607
52.7k
hints_text
stringlengths
0
57.4k
environment_setup_commit
stringclasses
167 values
tobymao__sqlglot-4579
4,579
tobymao/sqlglot
null
ceb42fabad60312699e4b15936aeebac00e22e4d
2025-01-08T15:12:50Z
diff --git a/sqlglot/dialects/__init__.py b/sqlglot/dialects/__init__.py index c85b607744..9228ee5d9a 100644 --- a/sqlglot/dialects/__init__.py +++ b/sqlglot/dialects/__init__.py @@ -68,6 +68,7 @@ class Generator(Generator): from sqlglot.dialects.dialect import Dialect, Dialects from sqlglot.dialects.doris import Dor...
diff --git a/tests/dialects/test_druid.py b/tests/dialects/test_druid.py new file mode 100644 index 0000000000..a64462d2d6 --- /dev/null +++ b/tests/dialects/test_druid.py @@ -0,0 +1,21 @@ +from sqlglot.dialects.dialect import Dialects +from tests.dialects.test_dialect import Validator + + +class TestDruid(Validator): ...
[]
[ "tests/dialects/test_druid.py::TestDruid::test_druid" ]
[]
This is a feature request which requires a new feature to add in the code repository. <<NEW FEATURE REQUEST>> <request> feat: Druid dialect Another stab at https://github.com/tobymao/sqlglot/pull/4475: - Add a Druid dialect with type mapping. - Add support to parser and generator for `CEIL(col TO unit)` and `FLOOR(...
ceb42fabad60312699e4b15936aeebac00e22e4d
PyThaiNLP__pythainlp-1054
1,054
PyThaiNLP/pythainlp
null
2252dee57bd7be9503242fa734bf0abc48c5ddf1
2025-01-02T13:53:18Z
diff --git a/docs/api/lm.rst b/docs/api/lm.rst index 471282fd3..063aecb2d 100644 --- a/docs/api/lm.rst +++ b/docs/api/lm.rst @@ -6,4 +6,5 @@ pythainlp.lm Modules ------- +.. autofunction:: calculate_ngram_counts .. autofunction:: remove_repeated_ngrams \ No newline at end of file diff --git a/pythainlp/lm/__init__...
diff --git a/tests/core/test_lm.py b/tests/core/test_lm.py index 5d25cc124..9da213d31 100644 --- a/tests/core/test_lm.py +++ b/tests/core/test_lm.py @@ -5,10 +5,23 @@ import unittest -from pythainlp.lm import remove_repeated_ngrams +from pythainlp.lm import calculate_ngram_counts, remove_repeated_ngrams class...
diff --git a/docs/api/lm.rst b/docs/api/lm.rst index 471282fd3..063aecb2d 100644 --- a/docs/api/lm.rst +++ b/docs/api/lm.rst @@ -6,4 +6,5 @@ pythainlp.lm Modules ------- +.. autofunction:: calculate_ngram_counts .. autofunction:: remove_repeated_ngrams \ No newline at end of file
[ { "components": [ { "doc": "Calculates the counts of n-grams in the list words for the specified range.\n\n:param List[str] list_words: List of string\n:param int n_min: The minimum n-gram size (default: 2).\n:param int n_max: The maximum n-gram size (default: 4).\n\n:return: A dictionary where ke...
[ "tests/core/test_lm.py::LMTestCase::test_calculate_ngram_counts", "tests/core/test_lm.py::LMTestCase::test_remove_repeated_ngrams" ]
[]
This is a feature request which requires a new feature to add in the code repository. <<NEW FEATURE REQUEST>> <request> Add pythainlp.lm.calculate_ngram_counts Calculates the counts of n-grams in the list words for the specified range. ``` >>> from pythainlp.lm import calculate_ngram_counts >>> a=["1","2","3","4"]...
2252dee57bd7be9503242fa734bf0abc48c5ddf1
tobymao__sqlglot-4547
4,547
tobymao/sqlglot
null
1ad853242f9e7119c7c6874be3650612393952ff
2024-12-25T00:59:40Z
diff --git a/sqlglot/expressions.py b/sqlglot/expressions.py index c66fc1aa22..7f43ea0274 100644 --- a/sqlglot/expressions.py +++ b/sqlglot/expressions.py @@ -4713,6 +4713,22 @@ def actions(self) -> t.List[Expression]: return self.args.get("actions") or [] +class Analyze(Expression): + arg_types = { + ...
diff --git a/tests/dialects/test_spark.py b/tests/dialects/test_spark.py index 1ad9763ffc..d5634a6890 100644 --- a/tests/dialects/test_spark.py +++ b/tests/dialects/test_spark.py @@ -918,3 +918,14 @@ def test_string(self): with self.subTest(f"Testing STRING() for {dialect}"): query = parse...
[]
[ "tests/test_parser.py::TestParser::test_analyze" ]
[ "tests/dialects/test_spark.py::TestSpark::test_analyze_compute_statistics", "tests/dialects/test_spark.py::TestSpark::test_bool_or", "tests/dialects/test_spark.py::TestSpark::test_current_user", "tests/dialects/test_spark.py::TestSpark::test_ddl", "tests/dialects/test_spark.py::TestSpark::test_explode_to_un...
This is a feature request which requires a new feature to add in the code repository. <<NEW FEATURE REQUEST>> <request> Feat: parse analyze compute statistics Add specific parsing for `ANALYZE` statment instead of fallback to parse as Command. | supported | dialect | `Analyze` statement reference | | :------: | -...
ceb42fabad60312699e4b15936aeebac00e22e4d
PyThaiNLP__pythainlp-1043
1,043
PyThaiNLP/pythainlp
null
4ef63b5832361f7c8938996d0a9491a82e1a3c3a
2024-12-23T14:16:34Z
diff --git a/docs/api/llm.rst b/docs/api/llm.rst new file mode 100644 index 000000000..db058504c --- /dev/null +++ b/docs/api/llm.rst @@ -0,0 +1,9 @@ +.. currentmodule:: pythainlp.llm + +pythainlp.llm +============= + +Modules +------- + +.. autofunction:: remove_repeated_ngrams \ No newline at end of file diff --git a...
diff --git a/tests/core/test_llm.py b/tests/core/test_llm.py new file mode 100644 index 000000000..415bc84d3 --- /dev/null +++ b/tests/core/test_llm.py @@ -0,0 +1,21 @@ +# -*- coding: utf-8 -*- +# SPDX-FileCopyrightText: 2016-2024 PyThaiNLP Project +# SPDX-FileType: SOURCE +# SPDX-License-Identifier: Apache-2.0 + +impo...
diff --git a/docs/api/llm.rst b/docs/api/llm.rst new file mode 100644 index 000000000..db058504c --- /dev/null +++ b/docs/api/llm.rst @@ -0,0 +1,9 @@ +.. currentmodule:: pythainlp.llm + +pythainlp.llm +============= + +Modules +------- + +.. autofunction:: remove_repeated_ngrams \ No newline at end of file
[ { "components": [ { "doc": "Remove repeated n-grams\n\n:param List[str] string_list: List of string\n:param int n: n-gram size\n:return: List of string\n:rtype: List[str]\n\n:Example:\n::\n\n from pythainlp.llm import remove_repeated_ngrams\n\n remove_repeated_ngrams(['เอา', 'เอา', 'แบบ', 'ไ...
[ "tests/core/test_llm.py::LlmTestCase::test_remove_repeated_ngrams" ]
[]
This is a feature request which requires a new feature to add in the code repository. <<NEW FEATURE REQUEST>> <request> Add pythainlp.llm ### What does this changes Add LLM tools for NLP wok. - `pythainlp.llm.remove_repeated_ngrams`: Remove repeated n-grams (to fixed llm) See #1048 ---------- </request> Th...
2252dee57bd7be9503242fa734bf0abc48c5ddf1
conan-io__conan-17518
17,518
conan-io/conan
2.12
003e2cfb746dbc83370758c192edacebd761472b
2024-12-22T20:51:16Z
diff --git a/conan/cli/commands/profile.py b/conan/cli/commands/profile.py index c188d9c002d..16457a1642a 100644 --- a/conan/cli/commands/profile.py +++ b/conan/cli/commands/profile.py @@ -9,35 +9,44 @@ from conans.util.files import save -def print_profiles(profiles): - host, build = profiles - cli_out_write...
diff --git a/test/functional/test_profile_detect_api.py b/test/functional/test_profile_detect_api.py index 077092f3d51..22ed575788c 100644 --- a/test/functional/test_profile_detect_api.py +++ b/test/functional/test_profile_detect_api.py @@ -30,11 +30,10 @@ def test_profile_detect_compiler(self): """) ...
[ { "components": [ { "doc": "", "lines": [ 12, 18 ], "name": "_print_profiles", "signature": "def _print_profiles(profiles):", "type": "function" }, { "doc": "", "lines": [ 27, 33 ], ...
[ "test/functional/test_profile_detect_api.py::TestProfileDetectAPI::test_profile_detect_libc", "test/functional/test_profile_detect_api.py::test_profile_show_aggregate_usecase[json-host]", "test/functional/test_profile_detect_api.py::test_profile_show_aggregate_usecase[json-build]", "test/functional/test_profi...
[ "test/functional/test_profile_detect_api.py::test_profile_show_aggregate_usecase[json-None]", "test/functional/test_profile_detect_api.py::test_profile_show_aggregate_usecase[text-None]", "test/integration/configuration/test_profile_jinja.py::test_profile_template", "test/integration/configuration/test_profil...
This is a feature request which requires a new feature to add in the code repository. <<NEW FEATURE REQUEST>> <request> Make profile show useful to aggregate profiles Changelog: Feature: `conan profile show` can now select which context's profile to show. Changelog: Fix: `conan profile show` does not pollute stdout wi...
003e2cfb746dbc83370758c192edacebd761472b
tobymao__sqlglot-4537
4,537
tobymao/sqlglot
null
6992c1855f343a5d0120a3b4c993d8c406dd29ba
2024-12-19T12:43:38Z
diff --git a/sqlglot/dialects/tsql.py b/sqlglot/dialects/tsql.py index 1acc5ca8a7..7aa7a0e22b 100644 --- a/sqlglot/dialects/tsql.py +++ b/sqlglot/dialects/tsql.py @@ -370,6 +370,16 @@ def _timestrtotime_sql(self: TSQL.Generator, expression: exp.TimeStrToTime): return sql +def _build_datetrunc(args: t.List) -> ...
diff --git a/tests/dialects/test_tsql.py b/tests/dialects/test_tsql.py index e8cd69648b..4c61780d76 100644 --- a/tests/dialects/test_tsql.py +++ b/tests/dialects/test_tsql.py @@ -2090,3 +2090,27 @@ def test_next_value_for(self): "oracle": "SELECT NEXT VALUE FOR db.schema.sequence_name", },...
[]
[ "tests/dialects/test_tsql.py::TestTSQL::test_datetrunc" ]
[ "tests/dialects/test_tsql.py::TestTSQL::test_add_date", "tests/dialects/test_tsql.py::TestTSQL::test_charindex", "tests/dialects/test_tsql.py::TestTSQL::test_commit", "tests/dialects/test_tsql.py::TestTSQL::test_convert", "tests/dialects/test_tsql.py::TestTSQL::test_count", "tests/dialects/test_tsql.py::T...
This is a feature request which requires a new feature to add in the code repository. <<NEW FEATURE REQUEST>> <request> feat(tsql): add support for DATETRUNC #4531 Fixes [https://github.com/tobymao/sqlglot/issues/4531](https://github.com/tobymao/sqlglot/issues/4531) This PR adds support for the `DATETRUNC` function ...
ceb42fabad60312699e4b15936aeebac00e22e4d
astronomer__astronomer-cosmos-1404
1,404
astronomer/astronomer-cosmos
null
c5edba07d2265d5185eaba149a639e8a0740e498
2024-12-18T11:35:17Z
diff --git a/cosmos/profiles/__init__.py b/cosmos/profiles/__init__.py index 00b934881..06601e59a 100644 --- a/cosmos/profiles/__init__.py +++ b/cosmos/profiles/__init__.py @@ -13,6 +13,7 @@ from .databricks.oauth import DatabricksOauthProfileMapping from .databricks.token import DatabricksTokenProfileMapping from ....
diff --git a/tests/profiles/oracle/test_oracle_user_pass.py b/tests/profiles/oracle/test_oracle_user_pass.py new file mode 100644 index 000000000..7f1258470 --- /dev/null +++ b/tests/profiles/oracle/test_oracle_user_pass.py @@ -0,0 +1,254 @@ +"""Tests for the Oracle profile.""" + +from unittest.mock import patch + +imp...
diff --git a/pyproject.toml b/pyproject.toml index cad6c3896..ee5503510 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -49,6 +49,7 @@ dbt-all = [ # See: https://github.com/astronomer/astronomer-cosmos/issues/1379 "dbt-databricks!=1.9.0", "dbt-exasol", + "dbt-oracle", "dbt-postgres", "db...
[ { "components": [ { "doc": "Maps Airflow Oracle connections using user + password authentication to dbt profiles.\nhttps://docs.getdbt.com/reference/warehouse-setups/oracle-setup\nhttps://airflow.apache.org/docs/apache-airflow-providers-oracle/stable/connections/oracle.html", "lines": [ ...
[ "tests/profiles/oracle/test_oracle_user_pass.py::test_connection_claiming", "tests/profiles/oracle/test_oracle_user_pass.py::test_profile_mapping_selected", "tests/profiles/oracle/test_oracle_user_pass.py::test_profile_mapping_keeps_custom_port", "tests/profiles/oracle/test_oracle_user_pass.py::test_profile_a...
[]
This is a feature request which requires a new feature to add in the code repository. <<NEW FEATURE REQUEST>> <request> Add Oracle Profile mapping This PR adds the ability to map Oracle connections from Airflow to Cosmos. Co-authored-by: Shad L. Lords [slords@lordsfam.net](mailto:slords@lordsfam.net) Original PR ...
c5edba07d2265d5185eaba149a639e8a0740e498
googleapis__python-aiplatform-4791
4,791
googleapis/python-aiplatform
null
67358fa6a830eb842f6b52d09061af4a41b54af6
2024-12-16T23:23:33Z
diff --git a/vertexai/resources/preview/feature_store/feature_online_store.py b/vertexai/resources/preview/feature_store/feature_online_store.py index 2a0ecd949c..ef790978b8 100644 --- a/vertexai/resources/preview/feature_store/feature_online_store.py +++ b/vertexai/resources/preview/feature_store/feature_online_store....
diff --git a/tests/unit/vertexai/conftest.py b/tests/unit/vertexai/conftest.py index 7d5bb4af45..fd9b4a195f 100644 --- a/tests/unit/vertexai/conftest.py +++ b/tests/unit/vertexai/conftest.py @@ -63,6 +63,7 @@ _TEST_FG1_F1, _TEST_FG1_F2, _TEST_FG1_FM1, + _TEST_FV_LIST, _TEST_FV1, _TEST_FV3, ...
[ { "components": [ { "doc": "Lists feature views under this feature online store.\n\nArgs:\n project:\n Project to list feature views in. If unset, the project set in\n aiplatform.init will be used.\n location:\n Location to list feature views in. If not set, location set...
[ "tests/unit/vertexai/test_feature_online_store.py::test_list_feature_views" ]
[ "tests/unit/vertexai/test_feature_online_store.py::test_init[my_fos1]", "tests/unit/vertexai/test_feature_online_store.py::test_init[projects/test-project/locations/us-central1/featureOnlineStores/my_fos1]", "tests/unit/vertexai/test_feature_online_store.py::test_create[None]", "tests/unit/vertexai/test_featu...
This is a feature request which requires a new feature to add in the code repository. <<NEW FEATURE REQUEST>> <request> chore: add `list_feature_views()` in feature views chore: add `list_feature_views()` in feature views ---------- </request> There are several new functions or classes that need to be implemented, u...
67358fa6a830eb842f6b52d09061af4a41b54af6
tortoise__tortoise-orm-1809
1,809
tortoise/tortoise-orm
null
e5cadb5fa687631935c4cd3d2447964a13ba1b7d
2024-12-12T14:58:10Z
diff --git a/pyproject.toml b/pyproject.toml index 130151eef..ccb882b44 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -192,6 +192,8 @@ source = ["tortoise"] [tool.coverage.report] show_missing = true +[tool.ruff] +line-length = 100 [tool.ruff.lint] ignore = ["E501"] diff --git a/tortoise/indexes.py b/tort...
diff --git a/tests/fields/test_db_index.py b/tests/fields/test_db_index.py index 973913a4a..58edc6eba 100644 --- a/tests/fields/test_db_index.py +++ b/tests/fields/test_db_index.py @@ -3,6 +3,40 @@ from tortoise import fields from tortoise.contrib import test from tortoise.exceptions import ConfigurationError +from ...
diff --git a/pyproject.toml b/pyproject.toml index 130151eef..ccb882b44 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -192,6 +192,8 @@ source = ["tortoise"] [tool.coverage.report] show_missing = true +[tool.ruff] +line-length = 100 [tool.ruff.lint] ignore = ["E501"]
[ { "components": [ { "doc": "", "lines": [ 62, 63 ], "name": "Index.__hash__", "signature": "def __hash__(self) -> int:", "type": "function" }, { "doc": "", "lines": [ 65, 66 ], ...
[ "tests/fields/test_db_index.py::TestIndexHashEqual::test_index_eq", "tests/fields/test_db_index.py::TestIndexHashEqual::test_index_hash" ]
[ "tests/fields/test_db_index.py::TestIndexAlias::test_index_alias", "tests/fields/test_db_index.py::TestIndexAliasSmallInt::test_index_alias", "tests/fields/test_db_index.py::TestIndexAliasBigInt::test_index_alias", "tests/fields/test_db_index.py::TestIndexAliasUUID::test_index_alias", "tests/fields/test_db_...
This is a feature request which requires a new feature to add in the code repository. <<NEW FEATURE REQUEST>> <request> feat: add `__hash__` and `__eq__` to Index <!--- Provide a general summary of your changes in the Title above --> ## Description <!--- Describe your changes in detail --> ## Motivation and Cont...
f0f389d906f2a3fab4191160de2fda2c95c70ac5
tobymao__sqlglot-4509
4,509
tobymao/sqlglot
null
946cd4234a2ca403785b7c6a026a39ef604e8754
2024-12-12T07:06:32Z
diff --git a/sqlglot/dialects/starrocks.py b/sqlglot/dialects/starrocks.py index a30e492bdd..d3f74e7a4e 100644 --- a/sqlglot/dialects/starrocks.py +++ b/sqlglot/dialects/starrocks.py @@ -14,11 +14,18 @@ ) from sqlglot.dialects.mysql import MySQL from sqlglot.helper import seq_get +from sqlglot.tokens import TokenTyp...
diff --git a/tests/dialects/test_starrocks.py b/tests/dialects/test_starrocks.py index bf7248559a..1b7360d50b 100644 --- a/tests/dialects/test_starrocks.py +++ b/tests/dialects/test_starrocks.py @@ -18,6 +18,8 @@ def test_ddl(self): "DISTRIBUTED BY HASH (col1) PROPERTIES ('replication_num'='1')", ...
[]
[ "tests/dialects/test_starrocks.py::TestStarrocks::test_ddl" ]
[ "tests/dialects/test_starrocks.py::TestStarrocks::test_identity", "tests/dialects/test_starrocks.py::TestStarrocks::test_regex", "tests/dialects/test_starrocks.py::TestStarrocks::test_starrocks", "tests/dialects/test_starrocks.py::TestStarrocks::test_time", "tests/dialects/test_starrocks.py::TestStarrocks::...
This is a feature request which requires a new feature to add in the code repository. <<NEW FEATURE REQUEST>> <request> feat(starrocks): add partition by range and unique key {} ---------- </request> There are several new functions or classes that need to be implemented, using the definitions below: <<NEW DEFINITION...
ceb42fabad60312699e4b15936aeebac00e22e4d
pgmpy__pgmpy-1881
1,881
pgmpy/pgmpy
null
cf8d0f12e2e5be62b01ff8fded85f3f64eab1e84
2024-12-11T14:56:44Z
diff --git a/pgmpy/estimators/ExpertKnowledge.py b/pgmpy/estimators/ExpertKnowledge.py new file mode 100644 index 000000000..4d1631a71 --- /dev/null +++ b/pgmpy/estimators/ExpertKnowledge.py @@ -0,0 +1,50 @@ +class ExpertKnowledge: + """ + Class to specify expert knowledge for causal discovery algorithms. + +...
diff --git a/pgmpy/tests/test_estimators/test_HillClimbSearch.py b/pgmpy/tests/test_estimators/test_HillClimbSearch.py index 296380b05..8f6b47aa8 100644 --- a/pgmpy/tests/test_estimators/test_HillClimbSearch.py +++ b/pgmpy/tests/test_estimators/test_HillClimbSearch.py @@ -3,7 +3,7 @@ import numpy as np import pandas ...
[ { "components": [ { "doc": "Class to specify expert knowledge for causal discovery algorithms.\n\nExpert knowledge is the prior knowledge about edges in the final structure of the\ngraph learned by causal discovery algorithms. Currently, expert knowledge can\nprovide information about edges that h...
[ "pgmpy/tests/test_estimators/test_HillClimbSearch.py::TestHillClimbEstimatorDiscrete::test_estimate", "pgmpy/tests/test_estimators/test_HillClimbSearch.py::TestHillClimbEstimatorDiscrete::test_estimate_rand", "pgmpy/tests/test_estimators/test_HillClimbSearch.py::TestHillClimbEstimatorDiscrete::test_estimate_tit...
[]
This is a feature request which requires a new feature to add in the code repository. <<NEW FEATURE REQUEST>> <request> Implementation of a class for expert/prior knowledge ### Your checklist for this pull request Please review the [guidelines for contributing](CONTRIBUTING.md) to this repository. - [x] Make sure y...
Here is the discussion in the issues of the pull request. <issues> Modularize expert knowledge specification for causal discovery algorithms Currently, causal discovery algorithms have arguments to specify expert knowledge. We want to modularize this interface by creating an ExpertKnowledge class that the user can defi...
cf8d0f12e2e5be62b01ff8fded85f3f64eab1e84
googleapis__python-aiplatform-4760
4,760
googleapis/python-aiplatform
null
52ce05a92574c6eceae35e8417738d51eaa92b4d
2024-12-10T01:02:32Z
diff --git a/vertexai/resources/preview/feature_store/feature_monitor.py b/vertexai/resources/preview/feature_store/feature_monitor.py index f54a411075..f4135ae0c1 100644 --- a/vertexai/resources/preview/feature_store/feature_monitor.py +++ b/vertexai/resources/preview/feature_store/feature_monitor.py @@ -189,6 +189,15...
diff --git a/tests/unit/vertexai/feature_store_constants.py b/tests/unit/vertexai/feature_store_constants.py index 0ab30b6cf0..fafc238f96 100644 --- a/tests/unit/vertexai/feature_store_constants.py +++ b/tests/unit/vertexai/feature_store_constants.py @@ -421,10 +421,33 @@ _TEST_FG1_FMJ1_PATH = f"{_TEST_PARENT}/feature...
[ { "components": [ { "doc": "The feature stats and anomaly of the feature monitor job.", "lines": [ 193, 199 ], "name": "FeatureMonitor.FeatureMonitorJob.feature_stats_and_anomalies", "signature": "def feature_stats_and_anomalies( self, ) -> List[...
[ "tests/unit/vertexai/test_feature_monitor.py::test_init_with_feature_monitor_job_path", "tests/unit/vertexai/test_feature_monitor.py::test_create_feature_monitor_job[None]", "tests/unit/vertexai/test_feature_monitor.py::test_create_feature_monitor_job[1.0]", "tests/unit/vertexai/test_feature_monitor.py::test_...
[ "tests/unit/vertexai/test_feature_monitor.py::test_init_with_feature_monitor_id_and_no_fg_id_raises_error", "tests/unit/vertexai/test_feature_monitor.py::test_init_with_feature_monitor_path_and_fg_id_raises_error", "tests/unit/vertexai/test_feature_monitor.py::test_init_with_feature_monitor_id", "tests/unit/v...
This is a feature request which requires a new feature to add in the code repository. <<NEW FEATURE REQUEST>> <request> feat: Add properties feature_stats_and_anomalies to `FeatureMonitorJob` feat: Add properties feature_stats_and_anomalies to `FeatureMonitorJob` ---------- </request> There are several new functions...
67358fa6a830eb842f6b52d09061af4a41b54af6
falconry__falcon-2419
2,419
falconry/falcon
null
77d5e6394a88ead151c9469494749f95f06b24bf
2024-12-09T12:04:12Z
diff --git a/docs/user/recipes/index.rst b/docs/user/recipes/index.rst index 0c90a4111..cad306b07 100644 --- a/docs/user/recipes/index.rst +++ b/docs/user/recipes/index.rst @@ -7,6 +7,7 @@ Recipes header-name-case multipart-mixed output-csv + plain-text-handler pretty-json raw-url-path request...
diff --git a/tests/test_recipes.py b/tests/test_recipes.py index a60e26838..cca799d1f 100644 --- a/tests/test_recipes.py +++ b/tests/test_recipes.py @@ -137,6 +137,31 @@ def test_raw_path(self, asgi, app_kind, util): assert scope2['raw_path'] == url2.encode() +class TestTextPlainHandler: + class MediaEc...
diff --git a/docs/user/recipes/index.rst b/docs/user/recipes/index.rst index 0c90a4111..cad306b07 100644 --- a/docs/user/recipes/index.rst +++ b/docs/user/recipes/index.rst @@ -7,6 +7,7 @@ Recipes header-name-case multipart-mixed output-csv + plain-text-handler pretty-json raw-url-path request...
[ { "components": [ { "doc": "", "lines": [ 6, 20 ], "name": "TextHandler", "signature": "class TextHandler(falcon.media.BaseHandler):", "type": "class" }, { "doc": "", "lines": [ 11, 13 ...
[ "tests/test_recipes.py::TestTextPlainHandler::test_text_plain_basic" ]
[ "tests/test_recipes.py::TestMultipartMixed::test_parse", "tests/test_recipes.py::TestOutputCSV::test_csv_output[asgi-simple]", "tests/test_recipes.py::TestOutputCSV::test_csv_output[asgi-stream]", "tests/test_recipes.py::TestOutputCSV::test_csv_output[wsgi-simple]", "tests/test_recipes.py::TestOutputCSV::te...
This is a feature request which requires a new feature to add in the code repository. <<NEW FEATURE REQUEST>> <request> docs(recipes): add text/plain media handler recipe # Summary of Changes introduce a new recipe demonstrating a text/plain media handler implementation the recipe includes serialization and deserial...
Here is the discussion in the issues of the pull request. <issues> Media handler for `text/plain` As proposed by @maxking on Gitter: > I have been trying to add support for msgpack in Mailman's API ([mailman/mailman!977](https://gitlab.com/mailman/mailman/-/merge_requests/977)) and in the process of doing that, I am t...
77d5e6394a88ead151c9469494749f95f06b24bf
Textualize__textual-5365
5,365
Textualize/textual
null
fe5b37a327454c24c309688d13845aa9f2e29c60
2024-12-09T10:43:27Z
diff --git a/CHANGELOG.md b/CHANGELOG.md index 38a6cb0c2b..c1666869d1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -18,6 +18,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/). - Change default quit key to `ctrl+q` https://github.com/Textualize/textual/pull/5352 - Changed delete line bindin...
diff --git a/tests/snapshot_tests/test_snapshots.py b/tests/snapshot_tests/test_snapshots.py index a6723b8be2..c3c9791068 100644 --- a/tests/snapshot_tests/test_snapshots.py +++ b/tests/snapshot_tests/test_snapshots.py @@ -1510,7 +1510,7 @@ def test_example_color_command(snap_compare): """Test the color_command ex...
diff --git a/CHANGELOG.md b/CHANGELOG.md index 38a6cb0c2b..c1666869d1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -18,6 +18,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/). - Change default quit key to `ctrl+q` https://github.com/Textualize/textual/pull/5352 - Changed delete line bindin...
[ { "components": [ { "doc": "Internal structure to keep track of a recursive search.", "lines": [ 19, 50 ], "name": "_Search", "signature": "class _Search(NamedTuple):", "type": "class" }, { "doc": "Branch this search w...
[ "tests/test_fuzzy.py::test_boosted_matches" ]
[ "tests/test_fuzzy.py::test_no_match", "tests/test_fuzzy.py::test_match_single_group", "tests/test_fuzzy.py::test_highlight" ]
This is a feature request which requires a new feature to add in the code repository. <<NEW FEATURE REQUEST>> <request> boost for first letter matches Tweak to the command palette matcher to boost matches for the first word(s). Consider the system commands. If I were to type "SS" I would get "**S**how Key**s** and H...
86e93536b991014e0ea4bf993068202b446bb698
tobymao__sqlglot-4486
4,486
tobymao/sqlglot
null
2655d7c11d677cf47f33ac62fbfb86f4117ffd75
2024-12-09T09:14:24Z
diff --git a/sqlglot/dialects/snowflake.py b/sqlglot/dialects/snowflake.py index e0d392b0cd..93731f3049 100644 --- a/sqlglot/dialects/snowflake.py +++ b/sqlglot/dialects/snowflake.py @@ -107,6 +107,13 @@ def _builder(args: t.List) -> E: return _builder +def _build_bitor(args: t.List) -> exp.BitwiseOr | exp.Ano...
diff --git a/tests/dialects/test_snowflake.py b/tests/dialects/test_snowflake.py index 4eb97235da..f70023b9ea 100644 --- a/tests/dialects/test_snowflake.py +++ b/tests/dialects/test_snowflake.py @@ -976,6 +976,12 @@ def test_snowflake(self): "snowflake": "EDITDISTANCE(col1, col2, 3)", }, ...
[]
[ "tests/dialects/test_snowflake.py::TestSnowflake::test_snowflake" ]
[ "tests/dialects/test_snowflake.py::TestSnowflake::test_alter_set_unset", "tests/dialects/test_snowflake.py::TestSnowflake::test_copy", "tests/dialects/test_snowflake.py::TestSnowflake::test_ddl", "tests/dialects/test_snowflake.py::TestSnowflake::test_describe_table", "tests/dialects/test_snowflake.py::TestS...
This is a feature request which requires a new feature to add in the code repository. <<NEW FEATURE REQUEST>> <request> feat(snowflake): Transpile support for bitor/bit_or snowflake function scenarios involving binary data manipulation, such as managing permission sets or feature flags. BITOR Function: The BITOR ...
ceb42fabad60312699e4b15936aeebac00e22e4d
End of preview. Expand in Data Studio
README.md exists but content is empty.
Downloads last month
25