зеркало из
1
0
Форкнуть 0
Граф коммитов

263 Коммитов

Автор SHA1 Сообщение Дата
hallvictoria 48a5758f63
test: run tests for 312 (#254)
* run tests for python 3.12

* update readme

* readme fix

* update codeowners and lint

* flake8 version for 3.12

* formatting for setup.py

* syntax

---------

Co-authored-by: Victoria Hall <victoria.hall@microsoft.com>
2024-10-22 11:56:54 -05:00
hallvictoria 2e8ba4b514
build: update Python Library Version to 1.22.0b4 (#263)
Co-authored-by: AzureFunctionsPython <funcdisc@microsoft.com>
2024-10-17 11:37:27 -05:00
wangbill a79aa58552
fix: correctly deserialize blob length (#252)
* fix: correctly deserialize blob length

* fix: tests

* fix: support ext bundle 2-3 which uses length

* fix: linting

* test if neither value provided

---------

Co-authored-by: hallvictoria <victoriahall@microsoft.com>
2024-10-17 11:19:10 -05:00
hallvictoria 7683200f0c
build: update Python Library Version to 1.22.0b3 (#262)
Co-authored-by: AzureFunctionsPython <funcdisc@microsoft.com>
2024-10-09 14:25:31 -05:00
hallvictoria 5f656ad03a
fix: allow source to be string and enum (#256)
* allowing both BlobSource and string source values

* add test

* using isinstance, removed extra if check

* mypy fix

---------

Co-authored-by: Victoria Hall <victoria.hall@microsoft.com>
2024-10-09 12:18:43 -05:00
hallvictoria c0e174871d
build: update Python Library Version to 1.22.0b2 (#253)
Co-authored-by: AzureFunctionsPython <funcdisc@microsoft.com>
2024-10-08 10:32:55 -05:00
Manvir Kaur a4c07f6a9c
fix: assistant_post_input and assistant_query_input decorator params updated to configure custom table storage (#244)
* update assistant decortators for table storage optional params

* update functionapp and tests

* remove underscores

* fix casing

* correct typo

* resolve linting issues

* fix linting issues in two more files

* update default collection name to ChatState
2024-10-07 12:34:12 -05:00
hallvictoria 6356f6f76c
build: update Python Library Version to 1.22.0b1 (#251)
Co-authored-by: AzureFunctionsPython <funcdisc@microsoft.com>
2024-10-02 10:13:28 -05:00
AzureFunctionsPython 39ebfe0ea0 Merge remote-tracking branch 'origin/release/1.21.1' into dev 2024-09-30 20:46:37 +00:00
AzureFunctionsPython 52a5bbe857 build: update Python Library Version to 1.21.1 2024-09-30 19:42:03 +00:00
hallvictoria 3f8e43ce44
cherry pick changes (#249)
Co-authored-by: Victoria Hall <victoria.hall@microsoft.com>
2024-09-30 14:38:30 -05:00
guptaheena 4307c75430
feat: Add MySql Binding Support V1 (#243)
* mysql binding support

* fix linting

* Update __init__.py

* fix indentation

---------

Co-authored-by: wangbill <gggwang1993@gmail.com>
Co-authored-by: Gavin Aguiar <80794152+gavin-aguiar@users.noreply.github.com>
2024-09-26 10:34:04 -05:00
hallvictoria 87cd09230f
build: update Python Library Version to 1.21.0 (#246)
Co-authored-by: AzureFunctionsPython <funcdisc@microsoft.com>
2024-09-24 12:12:56 -05:00
wangbill 839bfbbc2f
chore: allow-forked-pr-to-run-labeler (#245) 2024-09-23 10:55:22 -07:00
hallvictoria 2e5ea4fa04
build: update Python Library Version to 1.21.0b3 (#241)
Co-authored-by: AzureFunctionsPython <funcdisc@microsoft.com>
2024-08-28 14:09:42 -05:00
Varad Meru 3873bab948
feat: Adding ability to invoke functions directly (#238)
* Adding new direct calling tests

* Adding comments and improving tests
2024-08-19 12:45:45 -05:00
hallvictoria b6202298a4
Update Python Library Version to 1.21.0b2 (#237)
Co-authored-by: AzureFunctionsPython <funcdisc@microsoft.com>
2024-08-07 15:43:33 -05:00
hallvictoria 0617cd7bf1
refactor: unique function name validation (#236)
* set functions_bindings to None

* refactor name tracker to FunctionRegister

* lint

* renamed validate_functions

* feedback

* missed test fix

* missed test fix

* lint

* fix tests

* replace kafka test value

* remove kafka test value

---------

Co-authored-by: Victoria Hall <victoria.hall@microsoft.com>
2024-08-07 14:37:57 -05:00
Vivek Jilla 961e914774
feat: decorator support for Kafka extension (#234)
* initial changes for decorator support for Kafka

* Fixing minor issues

* fixing tests

* some more changes post validations

* Added Oauthbearer options support and fixing tests
2024-08-07 13:36:52 -05:00
hallvictoria a0b869207d
Update Python Library Version to 1.21.0b1 (#235)
Co-authored-by: AzureFunctionsPython <funcdisc@microsoft.com>
2024-07-30 11:24:16 -05:00
hallvictoria b2e31ec436
fix: enforcing unique function names (#216)
* unique function names

* added blueprint tests

* changing test function names

* lint

* lint

* fixed test_decorator tests

* fixed function_app tests

* configurable fx name for wsgi / asgi

* lint

* last test

* dapr test fx names

* feedback

* missed refs

* incorrect check

* missed reg

* type hint

---------

Co-authored-by: Victoria Hall <victoria.hall@microsoft.com>
2024-07-22 09:44:21 -05:00
hallvictoria de37877f6b
fix: small memory leak (#223)
* changing default {} to None

* mypy fixes

---------

Co-authored-by: Victoria Hall <victoria.hall@microsoft.com>
Co-authored-by: gavin-aguiar <80794152+gavin-aguiar@users.noreply.github.com>
2024-07-17 12:25:46 -05:00
wangbill ff2e803e5e
fix asgi/wsgifunctionapps to extend bindingapi/settingapi (#209)
Co-authored-by: gavin-aguiar <80794152+gavin-aguiar@users.noreply.github.com>
Co-authored-by: hallvictoria <59299039+hallvictoria@users.noreply.github.com>
2024-07-17 11:56:42 -05:00
hallvictoria 7904799b83
code clean up (#232)
Co-authored-by: Victoria Hall <victoria.hall@microsoft.com>
2024-07-03 13:32:37 -05:00
hallvictoria b37a3dd871
removed codeql (#228)
Co-authored-by: gavin-aguiar <80794152+gavin-aguiar@users.noreply.github.com>
2024-07-02 09:09:03 -05:00
hallvictoria b1d5418fa1
changed builds to use linux image (#231)
Co-authored-by: Victoria Hall <victoria.hall@microsoft.com>
2024-07-02 08:48:15 -05:00
gavin-aguiar abecd58448
Added eventgrid connection property (#229) 2024-07-01 16:43:42 -05:00
Victoria Hall b2f48a59a0 sync with ADO changes 2024-06-26 15:16:02 -05:00
hallvictoria 67235c0d56
removed pool from build and unit tests (#227)
Co-authored-by: Victoria Hall <victoria.hall@microsoft.com>
2024-06-19 11:38:57 -05:00
hallvictoria f0693442e5
update to 1ES PT (#221)
* code mirror template for library

* official build, public build, tests

---------

Co-authored-by: Victoria Hall <victoria.hall@microsoft.com>
2024-06-18 14:38:57 -05:00
hallvictoria fc78a0691d
Update __init__.py (#225) 2024-06-13 13:07:03 -05:00
hallvictoria 753742d97c
Update __init__.py (#222) 2024-06-07 13:19:25 -05:00
hallvictoria f319b33e26
Fix OpenAI decorators assistant skill trigger type typo (#224)
* changing default {} to None

* renamed type to singular

* clean up past commits

* missed references

* missed references

---------

Co-authored-by: Victoria Hall <victoria.hall@microsoft.com>
2024-06-07 13:02:53 -05:00
hallvictoria bdeb2c2e29
Optional source param for blob trigger (#220)
* making source optional param

* fixed tests

* added tests
2024-05-30 11:43:20 -05:00
hallvictoria 3e87e81797
Update __init__.py (#219) 2024-05-15 16:48:09 -05:00
wangbill de147728b7
add source to blob_trigger (#196)
* add source to blob_trigger

* fix

* test fix

* remove source as str

---------

Co-authored-by: hallvictoria <59299039+hallvictoria@users.noreply.github.com>
2024-05-15 16:31:11 -05:00
hallvictoria 3a0797131f
Update __init__.py (#218) 2024-05-13 10:19:25 -05:00
gavin-aguiar 5433b0921b
Openai decorators (#217)
* Added openai decorators

* Added openai decorators

* Minor type fixes

* connection_name typos

* Added tests

* Added pydocs and minor fixes

* Addressed comments

* Flake8 fixes

* Removed todo comment

---------

Co-authored-by: Victoria Hall <victoria.hall@microsoft.com>
2024-05-13 09:54:06 -05:00
hallvictoria 715580fb42
Update Python Library Version to 1.20.0b1 (#214)
Co-authored-by: AzureFunctionsPython <funcdisc@microsoft.com>
2024-04-30 16:31:57 -05:00
hallvictoria c7c31ddf93
Allow http scheme for AsgiRequest (#198)
* parse url scheme to allow http or https

* added & fixed test

* codeowner

---------

Co-authored-by: wangbill <12449837+YunchuWang@users.noreply.github.com>
2024-04-30 16:22:40 -05:00
David Justo f79ff413db
Add Durable Decorators directly to Python library (#207)
* Add naive proof of concept of DF decorators

* apply linter feedback

* apply further linter feedback

---------

Co-authored-by: wangbill <12449837+YunchuWang@users.noreply.github.com>
Co-authored-by: gavin-aguiar <80794152+gavin-aguiar@users.noreply.github.com>
2024-04-30 16:19:16 -05:00
hallvictoria b85eb7a790
Update __init__.py (#212) 2024-04-12 15:54:22 -05:00
wangbill 5a9360bab7
BugFix: Asgi Path Param Encoding change to utf-8 (#208)
* fix: third party web app, changing request path encoding to utf-8

* fix

* style fix

* ignore

* fix

* add tests

* fix

* Update tests/test_http_wsgi.py

Co-authored-by: Fredrik Erlandsson <fredrik.e@gmail.com>

* Update tests/test_http_wsgi.py

Co-authored-by: Fredrik Erlandsson <fredrik.e@gmail.com>

* Update test_http_wsgi.py

---------

Co-authored-by: Fredrik Erlandsson <fredrik.e@gmail.com>
2024-04-12 08:30:56 -07:00
Varad Meru 9574a5ce01
Create codeql.yml (#211) 2024-04-10 16:34:37 -05:00
Victoria Hall 31f3d426fb Merge branch 'dev' of https://github.com/Azure/azure-functions-python-library into dev 2024-03-06 16:06:27 -06:00
Victoria Hall 37ef7f6146 update init.py 2024-03-06 16:06:16 -06:00
hallvictoria f022bec6d0
DurableClient Converter (#206)
* sample durableClient converter

* dc converter & test

* lint

* removed unnecessary funcs

* typo

---------

Co-authored-by: Victoria Hall <victoria.hall@microsoft.com>
2024-03-06 15:47:02 -06:00
gavin-aguiar e1d3ebbad3
Update __init__.py 2024-02-13 10:58:20 -06:00
David Justo eb279bf355
Naive implementation of a backwards-compatible `function_name` decorator (#202)
* Implement backwards compatibility for function_name

* Moving function_name to decoratorapi

* Fixed flake8 validation

---------

Co-authored-by: gavin-aguiar <gaaguiar@microsoft.com>
Co-authored-by: gavin-aguiar <80794152+gavin-aguiar@users.noreply.github.com>
Co-authored-by: hallvictoria <59299039+hallvictoria@users.noreply.github.com>
2024-02-06 13:55:33 -06:00
AzureFunctionsPython 4b6c9ebbf7 Update Python Library Version to 1.19.0b1 2024-01-31 21:08:24 +00:00