Package: corva-sdk
corva-sdkcorva-sdkis a framework for buildingCorva DevCenterPython apps.HelpSeedocumentationfor more details.InstallInstall usingpip install corva-sdk.ContributingFor guidance on setting up a development environment seeDevelopment - Contributing.ChangelogAll notable changes to this project will be documented in this file.The format is based onKeep a Changelog,
and this project adheres toSemantic Versioning.[Unreleased][1.11.4] - 2024-02-08FixedNow "version" field represents not schema version but rather the version of rerun and can be any integer.[1.11.3] - 2024-02-07FixedFilter out records withNonedata from stream time records.[1.11.2] - 2024-01-05FixedMost of the fields in partial merge events should be optional.[1.11.1] - 2023-12-18AddedFieldspartitionandrerun_partitionare not expected in partial merge event payload.Data structure underdatakey  of partial merge event payload can accept additional fields.[1.11.0] - 2023-12-07AddedOptional merge_events parameter to @stream and @scheduled decorators. Default is False, if True - merge all incoming events into one.Added functionality to make retries for the failed HTTP requests.[1.10.0] - 2023-11-08AddedNew handler to process partial rerun merge events[1.9.2] - 2023-10-25Fixedissue withinsert_datamethod not working when trying to insert data into any dataset.ChangedLimit number of available Cache connections to 1[1.9.1] - 2023-05-09Fixedurllib3v2 not supported by AWS Lambda.[1.9.0] - 2023-03-06Addedlog_identifierfield to stream depth events.ChangedReraise exceptions intaskapps
instead of suppressing them.[1.8.1] - 2023-01-24Addedidfield to rerun data.[1.8.0] - 2022-11-28Addedinsert_datamethod toApi.
SeeInsert datasection in docs.Example usage for followable apps.
SeeFollowable appssection in docs.[1.7.0] - 2022-11-08Addedproduce_messagesmethod toApi.
SeeProduce messagessection in docs.Documentation on followable apps.
SeeFollowable appssection in docs.[1.6.0] - 2022-10-19Addedcacheparameter toapp_runnerto reuse the cache object.[1.5.3] - 2022-09-05ChangedSet status as completed
for failed scheduled natural time apps.[1.5.2] - 2022-07-11FixedGitHub Pages[1.5.1] - 2022-07-11FixedGitHub Pages[1.5.0] - 2022-07-11AddedRerun support.StreamTimeEvent,StreamDepthEvent,ScheduledDataTimeEvent,ScheduledDepthEventandScheduledNaturalTimeEventgot newrerunfield which stores rerun metadata.[1.4.0] - 2022-04-25AddedCachemethods:set_manyget_manyget_alldelete_manydelete_allFixedWrong log formatting in Dev Center:
multiline Python logs (like stack traces)
being split into multiple CloudWatch log entries.ChangedLog internal SDK errors usingwarninglevel instead ofexception.[1.4.0-rc.1] - 2022-02-15Addedget,setand new signature fordeletemethods toCache.
See docs for more info.DeprecatedCachemethods:olddeletesignaturestoreloadload_alldelete_allttlpttlexistsFixedCacheunable to set unique expiry for each key.[1.3.1] - 2022-04-14FixedWrong log formatting in Dev Center:
multiline Python logs (like stack traces)
being split into multiple CloudWatch log entries.[1.3.0] - 2022-02-15AddedSecrets support.
See corresponding section in docs.[1.2.2] - 2021-11-01FixedSuccessful task app failing to update task status.[1.2.1] - 2021-10-29DeprecatedReturning dict result from task app
to get it stored in task payload.
Send the request to update the payload explicitly in your app.[1.2.0] - 2021-08-09AddedSubtypes of scheduled event:ScheduledDataTimeEvent,ScheduledDepthEventandScheduledNaturalTimeEventDeprecatedScheduledEventusage[1.1.0] - 2021-07-19AddedAbility to pass custom logging handlers
to app decorators usinghandlerkeyword argument.Natural time event (single dict) parsing inscheduledapps.FixedMultiple logging of the same exception in stream and scheduled apps.Log message truncation for lowLOG_THRESHOLD_MESSAGE_SIZEvalues.[1.0.3] - 2021-06-27[1.0.2] - 2021-06-27AddedLogging of internal errors.[1.0.1] - 2021-04-30FixedAWS Lambda context parsing.[1.0.0] - 2021-04-29Addedcorva.stream,corva.scheduledandcorva.taskapp decorators.
See readme for usage examples.ScheduledEvent.company_idfield.Removedcorva.Corvaclass.[0.0.18] - 2021-04-16ChangedEvents are allowed to have extra fields.[0.0.17] - 2021-04-15Addedcorva.Loggerobject, that should be used for app logging.LOG_THRESHOLD_MESSAGE_SIZEandLOG_THRESHOLD_MESSAGE_COUNTenv variables, that should be used to configure logging.[0.0.16] - 2021-04-02Addedapp_runnerfixture for testing apps.ChangedStreamEventwas split intoStreamTimeEventandStreamDepthEvent,
which have correspondingStreamTimeRecordandStreamDepthRecordrecords.Deleted all unsued fields fromScheduledEvent,TaskEvent,StreamTimeEventandStreamDepthEvent.Removedfilter_modeparameter fromCorva.stream.
Filtering is now automatic.[0.0.15] - 2021-03-23AddedCorva.taskdecorator for task apps.[0.0.14] - 2021-03-12AddedTestingsection toREADME.md.Api.get_datasetmethod.ChangedScheduledEvent.schedule_endfield is now optional.ScheduledEvent.schedule_endandScheduledEvent.schedule_startfield types
fromdatetimetoint.[0.0.13] - 2021-03-04AddedTools for testing apps.[0.0.12] - 2021-02-11FixedTaskEventqueue event parsing.###ChangedStreamEventmust have at least one record.StreamEventandScheduledEvent:Added descriptions to fields.Simplified event structures.[0.0.11] - 2021-02-10FixedScheduledEventqueue event parsing.[0.0.10] - 2021-02-05ChangedApiclass:Deleted retries.Responses do not useraise_for_statusanymore.Lowereddefault_timeoutto 30 seconds.Fixed url build exceptions on Windows.[0.0.9] - 2021-02-05RemovedObsoleteStreamEventfields:app_version.ObsoleteScheduledEventfields:app_version.[0.0.8] - 2021-02-05Fixedapi_keyextraction fromcontext.[0.0.7] - 2021-02-04FixedStreamEventqueue event parsing.[0.0.5] - 2021-02-04AddedRequiredcontextparameter toCorva.Documentation inREADME.md.[0.0.4] - 2021-01-20AddedCorvaclass, which containsstreamandscheduleddecorators
for stream and scheduled apps.RemovedStreamAppandScheduledAppclasses.[0.0.3] - 2020-12-15FixedDeployment to PyPI.[0.0.2] - 2020-12-15###AddedStreamAppto build stream apps.ScheduledAppto build scheduled apps.TaskAppto build task apps.Apiclass to access Platform and Data Corva APIs.Cacheclass to share data between app invokes.Event classes:StreamEvent,ScheduledEventandTaskEvent.[Unreleased]https://github.com/corva-ai/python-sdk/compare/v1.11.4...master[1.11.4]https://github.com/corva-ai/python-sdk/compare/v1.11.3...v1.11.2[1.11.3]https://github.com/corva-ai/python-sdk/compare/v1.11.2...v1.11.3[1.11.2]https://github.com/corva-ai/python-sdk/compare/v1.11.1...v1.11.2[1.11.1]https://github.com/corva-ai/python-sdk/compare/v1.11.0...v1.11.1[1.11.0]https://github.com/corva-ai/python-sdk/compare/v1.10.0...v1.11.0[1.10.0]https://github.com/corva-ai/python-sdk/compare/v1.9.2...v1.10.0[1.9.2]https://github.com/corva-ai/python-sdk/compare/v1.9.1...v1.9.2[1.9.1]https://github.com/corva-ai/python-sdk/compare/v1.9.0...v1.9.1[1.9.0]https://github.com/corva-ai/python-sdk/compare/v1.8.1...v1.9.0[1.8.1]https://github.com/corva-ai/python-sdk/compare/v1.8.0...v1.8.1[1.8.0]https://github.com/corva-ai/python-sdk/compare/v1.7.0...v1.8.0[1.7.0]https://github.com/corva-ai/python-sdk/compare/v1.6.0...v1.7.0[1.6.0]https://github.com/corva-ai/python-sdk/compare/v1.5.3...v1.6.0[1.5.3]https://github.com/corva-ai/python-sdk/compare/v1.5.2...v1.5.3[1.5.2]https://github.com/corva-ai/python-sdk/compare/v1.5.1...v1.5.2[1.5.1]https://github.com/corva-ai/python-sdk/compare/v1.5.0...v1.5.1[1.5.0]https://github.com/corva-ai/python-sdk/compare/v1.4.0...v1.5.0[1.4.0]https://github.com/corva-ai/python-sdk/compare/v1.4.0-rc.1...v1.4.0[1.4.0-rc.1]https://github.com/corva-ai/python-sdk/compare/v1.3.1...v1.4.0-rc.1[1.3.1]https://github.com/corva-ai/python-sdk/compare/v1.3.0...v1.3.1[1.3.0]https://github.com/corva-ai/python-sdk/compare/v1.2.2...v1.3.0[1.2.2]https://github.com/corva-ai/python-sdk/compare/v1.2.1...v1.2.2[1.2.1]https://github.com/corva-ai/python-sdk/compare/v1.2.0...v1.2.1[1.2.0]https://github.com/corva-ai/python-sdk/compare/v1.1.0...v1.2.0[1.1.0]https://github.com/corva-ai/python-sdk/compare/v1.0.3...v1.1.0[1.0.3]https://github.com/corva-ai/python-sdk/compare/v1.0.2...v1.0.3[1.0.2]https://github.com/corva-ai/python-sdk/compare/v1.0.1...v1.0.2[1.0.1]:https://github.com/corva-ai/python-sdk/compare/v1.0.0...v1.0.1[1.0.0]:https://github.com/corva-ai/python-sdk/compare/v0.0.18...v1.0.0[0.0.18]:https://github.com/corva-ai/python-sdk/compare/v0.0.17...v0.0.18[0.0.17]:https://github.com/corva-ai/python-sdk/compare/v0.0.16...v0.0.17[0.0.16]:https://github.com/corva-ai/python-sdk/compare/v0.0.15...v0.0.16[0.0.15]:https://github.com/corva-ai/python-sdk/compare/v0.0.14...v0.0.15[0.0.14]:https://github.com/corva-ai/python-sdk/compare/v0.0.13...v0.0.14[0.0.13]:https://github.com/corva-ai/python-sdk/compare/v0.0.12...v0.0.13[0.0.12]:https://github.com/corva-ai/python-sdk/compare/v0.0.11...v0.0.12[0.0.11]:https://github.com/corva-ai/python-sdk/compare/v0.0.10...v0.0.11[0.0.10]:https://github.com/corva-ai/python-sdk/compare/v0.0.9...v0.0.10[0.0.9]:https://github.com/corva-ai/python-sdk/compare/v0.0.8...v0.0.9[0.0.8]:https://github.com/corva-ai/python-sdk/compare/v0.0.7...v0.0.8[0.0.7]:https://github.com/corva-ai/python-sdk/compare/v0.0.5...v0.0.7[0.0.5]:https://github.com/corva-ai/python-sdk/compare/v0.0.4...v0.0.5[0.0.4]:https://github.com/corva-ai/python-sdk/compare/v0.0.3...v0.0.4[0.0.3]:https://github.com/corva-ai/python-sdk/compare/v0.0.2...v0.0.3[0.0.2]:https://github.com/corva-ai/python-sdk/releases/tag/v0.0.2