Skip to content
This repository was archived by the owner on Jan 5, 2026. It is now read-only.

add adaptive-expression library#1238

Closed
feich-ms wants to merge 131 commits into
mainfrom
feich/initExpression
Closed

add adaptive-expression library#1238
feich-ms wants to merge 131 commits into
mainfrom
feich/initExpression

Conversation

@feich-ms
Copy link
Copy Markdown

@feich-ms feich-ms commented Jul 9, 2020

This PR is to add adaptive expression library in python SDK. Functions and tests are fully aligned with C# and JS version. We can do an official R11 release after reviewed and approved.

Function list:

  • Math functions
  • Comparisons functions
  • Logic functions
  • String functions
  • Collection functions
  • DataTime
  • Timex
  • Conversions
  • URI Parsing Functions
  • Memory
  • Misc
  • Object manipulation and construction functions
  • Regular expression
  • Type Checking

@tracyboehrer
Copy link
Copy Markdown
Member

@feich-ms Thanks! We'll take a closer look as soon as we can. One thing to note is that there is some refactoring planned in the dotnet repo for this package.

@feich-ms
Copy link
Copy Markdown
Author

@tracyboehrer Thank you very much, I'm still working on adding more expression functions and helpers, but this PR is already a minimun working version with fundamental components. Besides, Is the refactoring work you mentioned above related with this one microsoft/botbuilder-dotnet#4222? If so, I already aligned with this. If not, could you point me the right one?

@boydc2014 boydc2014 marked this pull request as ready for review July 16, 2020 08:12
@boydc2014
Copy link
Copy Markdown

boydc2014 commented Jul 16, 2020

@feich-ms can you fix the CI failure?

@feich-ms feich-ms requested review from axelsrz and tracyboehrer July 16, 2020 08:41
@feich-ms
Copy link
Copy Markdown
Author

feich-ms commented Jul 16, 2020

@boydc2014 sure, CI failures are caused by code style checking and are fixed now. All checks passed now.

@feich-ms feich-ms changed the title init adaptive expression lib add adaptive-expression library Aug 25, 2020
ShYuPe and others added 5 commits August 26, 2020 11:20
* implement regular expression

* add bad expression testcase
* implement regular expression

* add bad expression testcase

* correct format of datetime for python
@feich-ms
Copy link
Copy Markdown
Author

feich-ms commented Aug 31, 2020

@vishwacsena, this PR is completely ready now. Functions and tests are fully aligned with C# and JS except the locale-aware ones(locale-aware functions are not much helpful in python library since python library is mainly used by adaptive card team now. We can of course add them when we are at that stage). Please help to prioritize the PR process if it's high.

@vishwacsena
Copy link
Copy Markdown
Contributor

@sgellock @cleemullins can we take this for R11? Adaptive cards team had a customer who was looking for this and in general gets us well on the way to get to parity across languages.

@BruceHaley
Copy link
Copy Markdown
Contributor

/azp run

@azure-pipelines
Copy link
Copy Markdown

Azure Pipelines successfully started running 1 pipeline(s).

@cleemullins
Copy link
Copy Markdown
Contributor

This PR is 206 files and very complex. Please break this down into smaller, focused PRs, and we can review each one individually.

@sgellock
Copy link
Copy Markdown

I'd like to re-evaluate if this is still a pressing customer ask, regardless of the PR challenges Chris bring up.

@sgellock
Copy link
Copy Markdown

@clearab per I message I sent, can we prioritize the need and urgency?

@tracyboehrer tracyboehrer deleted the feich/initExpression branch July 2, 2024 20:22
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

9 participants