Skip to content

Commit bb820da

Browse files
Merge branch 'main' into comp_name-fix
2 parents 75f6ff7 + cd3df55 commit bb820da

3 files changed

Lines changed: 3 additions & 5 deletions

File tree

.github/workflows/medcat-embedding-linker_ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ on:
77
- 'medcat-embedding-linker/v*.*.*'
88
pull_request:
99
paths:
10-
- 'medcat-plugins/medcat-embedding-linker/**'
10+
- 'medcat-plugins/embedding-linker/**'
1111
- '.github/workflows/medcat-embedding-linker**'
1212

1313
permissions:

medcat-den/src/medcat_den/config.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
from typing import Union
1+
from typing import Union, Optional
22
from pathlib import Path
33

44
from pydantic import BaseModel
@@ -16,7 +16,7 @@ class LocalDenConfig(DenConfig):
1616

1717
class RemoteDenConfig(DenConfig):
1818
host: str
19-
credentials: dict
19+
credentials: Optional[dict] = None
2020
allow_local_fine_tune: bool
2121
allow_push_fine_tuned: bool
2222

medcat-den/src/medcat_den/resolver/resolver.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -96,8 +96,6 @@ def _init_den_cnf(
9696
host = host or os.getenv(MEDCAT_DEN_REMOTE_HOST)
9797
if not host:
9898
raise ValueError("Need to specify a host for remote den")
99-
if not credentials:
100-
raise ValueError("Need to specify credentials for remote den")
10199
# NOTE: these will default to False when nothing is specified
102100
# because "None" is not in ALLOW_OPTION_LOWERCASE
103101
allow_local_fine_tune = str(

0 commit comments

Comments
 (0)