Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: code-kern-ai/refinery-python-sdk
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v1.4.0
Choose a base ref
...
head repository: code-kern-ai/refinery-python-sdk
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: dev
Choose a head ref
  • 2 commits
  • 3 files changed
  • 2 contributors

Commits on May 14, 2024

  1. License update (#29)

    lumburovskalina authored May 14, 2024

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature.
    Copy the full SHA
    26221a8 View commit details

Commits on Nov 14, 2024

  1. change to new url

    JWittmeyer authored Nov 14, 2024

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature.
    Copy the full SHA
    088add6 View commit details
Showing with 4 additions and 4 deletions.
  1. +1 −1 LICENSE
  2. +1 −1 refinery/__init__.py
  3. +2 −2 refinery/settings.py
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -186,7 +186,7 @@
same "printed page" as the copyright notice for easier
identification within third-party archives.

Copyright 2022 onetask.ai GmbH
Copyright 2024 Kern AI GmbH

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
2 changes: 1 addition & 1 deletion refinery/__init__.py
Original file line number Diff line number Diff line change
@@ -287,7 +287,7 @@ def post_file_import(

FILE_TYPE = "records"
# config
config_url = settings.get_base_config(self.project_id)
config_url = settings.get_full_config(self.project_id)
config_api_response = api_calls.get_request(
config_url,
self.session_token,
4 changes: 2 additions & 2 deletions refinery/settings.py
Original file line number Diff line number Diff line change
@@ -54,8 +54,8 @@ def get_associations_url(project_id: str) -> str:
return f"{get_project_url(project_id)}/associations"


def get_base_config(project_id: str) -> str:
return f"{get_project_url(project_id)}/import/base_config"
def get_full_config(project_id: str) -> str:
return f"{get_project_url(project_id)}/import/full_config"


def get_task(project_id: str, task_id: str) -> str: